Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Oct 2011 at 23:12 UTC
Updated:
2 Nov 2011 at 14:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
dawehnerEven you don't believe it it is always handy if you provide a view export which is really easy to reproduce :)
Comment #2
nagiek commentedSorry I have a bad habit of that... :)
There's a custom function in the access callback, but you can just set it to anything to check the arg that's being pushed through.
Comment #3
nagiek commentedSo here's what I believe is the problem. No patch because my computer is in the shop... :p
Here is the code in
views_plugin_display_page.incthat replaces integers with dynamic arguments:$access_argumentsis then registered for later.BUT, when creating a new menu tab, we don't pass in the
$access_arguments.If we pass in
$access_arguments, my problem should be fixed :) and views will be so much the better.Again, sorry no patch. Thanks dereine!
Comment #4
nagiek commentedComment #5
dawehnerOh it's so much easier to understand what you change if you create a patch file.
Comment #6
nagiek commentedJust last line.
Will post patch when I get my computer back (should be today)!
Comment #7
dawehnerIt's all about context :) Anyway i found the line so changed it and commited to both 3.x branch.
Thanks for providing a "patch"...
Comment #8
nagiek commentedThanks. :) Sorry I wasn't more help.