Closed (fixed)
Project:
Views Bulk Operations (VBO)
Version:
6.x-1.x-dev
Component:
Actions
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
16 Apr 2009 at 04:39 UTC
Updated:
5 Jul 2012 at 07:16 UTC
I've created a content type called "article", and I created a view that has the Publish Post and Unpublish Post operations available. The path for the page view is mysite.com/articles. When I select all the items on the page and click on Execute (after selecting Publish Post), I get the header "Are you sure you want to perform 'Publish post' on selected rows?", but a message below that saying "Page Not Found". In addition, the URL is mysite.com/articles,/articles,/articles.
.
Comments
Comment #1
infojunkieThis sounds like a familiar problem. Can you please confirm that when you view the page source, there is a line that starts with
and that contains an entry
What is the value of
[some value]?Can you please try the latest dev release? If it's the same problem I have in mind, it should be fixed there. You will need to re-select the actions in your VBO settings.
Comment #2
wonder95 commentedYes, here is the line:
Thanks.
Comment #3
infojunkieThanks for the feedback. Did you get a chance to try the latest dev release?
Comment #4
wonder95 commentedYes I did, and it's working now.
Thanks.
Comment #5
infojunkieComment #7
Oleksa-1 commentedI have same problem with vbo 1.10
jQuery.extend(Drupal.settings, { "basePath": "/", "admin_menu": { "margin_top": 1 }, "thickbox": { "close": "Close", "next": "Next \x3e", "prev": "\x3c Prev", "esc_key": "or Esc Key", "next_close": "Next / Close on last", "image_count": "Image !current of !total" }, "vbo": { "url": [ "moderator_page", "moderator_page" ] }, "views": { "ajax_path": [ "/views/ajax", "/views/ajax" ], "ajaxViews": [ { "view_name": "new_sp_not_approved", "view_display_id": "block_1", "view_args": "", "view_path": "moderator_page", "view_base_path": null, "view_dom_id": 2, "pager_element": 0 }, { "view_name": "new_forum_topics_not_approved", "view_display_id": "block_1", "view_args": "", "view_path": "moderator_page", "view_base_path": null, "view_dom_id": 3, "pager_element": 0 } ] } });
To fix it temporary I use one of the old version of VBO dev
; $Id: views_bulk_operations.info,v 1.2.4.1.2.2 2009/05/01 23:36:09 kratib Exp $
name = Views Bulk Operations
description = Exposes new Views style 'Bulk Operations' for selecting multiple nodes and applying operations on them.
dependencies[] = views
package = Views
core = 6.x
php = 5.0
; Information added by drupal.org packaging script on 2009-09-11
version = "6.x-1.x-dev"
core = "6.x"
project = "views_bulk_operations"
datestamp = "1252673330"
This one works OK.
Comment #8
infojunkieThe latest dev should fix this issue.
Comment #10
sycho commentedExperiencing this problem with VBO
Downloaded the latest VBO dev and it didn't solved my problem.
jQuery.extend(Drupal.settings, { "basePath": "/eft/", "admin_menu": { "margin_top": 1 }, "vbo": { "views-bulk-operations-form--1": { "form_id": "views_bulk_operations_form__1", "view_name": "eft_nieuws_overzicht", "options": { "grouping": "", "columns": { "field_image_fid": "field_image_fid", "title": "title", "body": "body", "status": "status", "edit_node": "edit_node" }, "default": "-1", "info": { "field_image_fid": { "separator": "" }, "title": { "sortable": 1, "separator": "" }, "body": { "separator": "" }, "status": { "sortable": 1, "separator": "" }, "edit_node": { "separator": "" } }, "override": 1, "sticky": 0, "order": "asc", "operations": { "node_mass_update-a27b9efabcd054685a549378b174ad11": { "selected": 0, "skip_confirmation": 0, "label": "" }, "node_mass_update-14de7d028b4bffdf2b4a266562ca18ac": { "selected": 0, "skip_confirmation": 0, "label": "" }, "system_message_action": { "selected": 0, "skip_confirmation": 0, "label": "" }, "node_save_action": { "selected": 0, "skip_confirmation": 0, "label": "" }, "node_publish_action": { "selected": 1, "skip_confirmation": 1, "label": "" }, "views_bulk_operations_delete_node_action": { "selected": 1, "skip_confirmation": 1, "label": "" }, "token_actions_message_action": { "selected": 0, "skip_confirmation": 0, "label": "" }, "system_send_email_action": { "selected": 0, "skip_confirmation": 0, "label": "" }, "views_bulk_operations_action": { "selected": 0, "skip_confirmation": 0, "label": "" }, "views_bulk_operations_script_action": { "selected": 0, "skip_confirmation": 0, "label": "" }, "node_promote_action": { "selected": 0, "skip_confirmation": 0, "label": "" }, "views_bulk_operations_fields_action": { "selected": 0, "skip_confirmation": 0, "label": "", "settings": { "php_code": 0, "show_tokens": 0, "display_fields": { "_all_": "_all_" } } }, "views_bulk_operations_taxonomy_action": { "selected": 0, "skip_confirmation": 0, "label": "" }, "views_bulk_operations_argument_selector_action": { "selected": 0, "skip_confirmation": 0, "label": "" }, "node_make_sticky_action": { "selected": 0, "skip_confirmation": 0, "label": "" }, "node_make_unsticky_action": { "selected": 0, "skip_confirmation": 0, "label": "" }, "node_mass_update-0ccad85c1ebe4c9ceada1aa64293b080": { "selected": 1, "skip_confirmation": 1, "label": "" }, "node_unpublish_action": { "selected": 0, "skip_confirmation": 0, "label": "" }, "node_mass_update-9c585624b9b3af0b4687d5f97f35e047": { "selected": 0, "skip_confirmation": 0, "label": "" }, "image_operations_rebuild": { "selected": 0, "skip_confirmation": 0, "label": "" }, "token_actions_goto_action": { "selected": 0, "skip_confirmation": 0, "label": "" }, "token_actions_send_email_action": { "selected": 0, "skip_confirmation": 0, "label": "" }, "node_unpublish_by_keyword_action": { "selected": 0, "skip_confirmation": 0, "label": "" }, "pathauto_node_update_alias_multiple-620e193b20ba9caa374fea9ca0ad38f0": { "selected": 0, "skip_confirmation": 0, "label": "" }, "node_mass_update-c4d3b28efb86fd703619a50b74d43794": { "selected": 0, "skip_confirmation": 0, "label": "" }, "node_mass_update-8ce21b08bb8e773d10018b484fe4815e": { "selected": 0, "skip_confirmation": 0, "label": "" }, "node_unpromote_action": { "selected": 0, "skip_confirmation": 0, "label": "" }, "system_goto_action": { "selected": 0, "skip_confirmation": 0, "label": "" }, "node_assign_owner_action": { "selected": 0, "skip_confirmation": 0, "label": "" } }, "execution_type": "1", "max_performance": 0, "display_type": "0", "display_result": 1, "merge_single_action": 1, "hide_selector": 0, "preserve_selection": 1 } } }, "views": { "ajax_path": "/eft/?q=nl/views/ajax", "ajaxViews": [ { "view_name": "eft_nieuws_overzicht", "view_display_id": "page_1", "view_args": "", "view_path": "content/inhoud-aanpassen", "view_base_path": "content/inhoud-aanpassen", "view_dom_id": 1, "pager_element": 0 } ] } });
When I execute my action my url becomes:
http://www.eftnv.be/eft/?q=nl/content/inhoud-aanpassen?q=nl%2Fcontent%2F...
And I get a page not found error. The view_path and view_base_path are correct though
Comment #11
infojunkieThose !@#$ regressions! Working on it.
Comment #12
infojunkieFixed in the latest dev. Please try it and let me know.
Comment #13
sycho commentedDownloaded the latest dev. Still get the page not found error and in firebug it says that views-bulk-operations/js/select was not found on the server. Missing file in js folder I think.
Comment #14
infojunkieCan you make sure the file js/views_bulk_operations.js has a function
Drupal.vbo.prepareActionthat looks like:Otherwise you got an earlier dev version of the module.
Comment #15
infojunkieI also committed a fix for the missing views-bulk-operations/js/select. All these issues are happening because Clean URL is off. Please wait 12 hours before trying again or get from git branch 6.x-1.x directly.
Comment #16
sycho commentedI'v downloaded the new version from github. Firebug still gives me the error views-bulk-operations/js/select error. I can't turn on Clean URL because I don't have access to the webserver apache. Is there another way to enable it?
Comment #17
sycho commentedI've downloaded the latest dev from drupal website and now everything works fine! Thanks for your help!
Comment #19
tanvirahmad commentedI have same issue...
I found when i use quick tabs ... and placed view block in that... then use VBO, it appends page argument to redirect after performing action then shows "The requested page "/home/1" could not be found.
"