Hi there,
I am experiencing the above warning when scheduler is enabled and I edit or create any node which has scheduler enabled for that node.
It seems to be related to the user account but can't figure out what's wrong,
thanks
Hi there,
I am experiencing the above warning when scheduler is enabled and I edit or create any node which has scheduler enabled for that node.
It seems to be related to the user account but can't figure out what's wrong,
thanks
Comments
Comment #1
jonathan1055 commentedHi,
Yes you are right, this is an error. It must be related to our recent change in #1071976: Authenticated user to view list of own scheduled nodes. I'll check it now.
Jonathan
ps. I moved the 'line 99...sites/all/modules/scheduler/scheduler.module' out of the rather long title.
Comment #2
jonathan1055 commentedEric,
The problem is that we did not add parameters to the page_callback and access_callback in hook_menu(). One solution would be to add
array(NULL, NULL)into the definition as below.An alternative would be to test for isset($args[0]) in both the scheduler_list_access_callback() and scheduler_list() functions.
What's your preference?
Jonathan
Comment #3
Starminder commentedsubscribe
Comment #4
eric-alexander schaefer commentedI took route number 1: http://drupalcode.org/project/scheduler.git/commit/2c3a452
Comment #5
jonathan1055 commentedThanks Eric.
Just in case it slipped your mind, we implemented this in D6 too, so the same fix is required.
Jonathan
Comment #6
eric-alexander schaefer commentedNo, I did not forget D6. I did that on purpose!!!1! ;-)
http://drupalcode.org/project/scheduler.git/commit/fea0604
p.s. There should be a new issue status "fixed, again"...
Comment #7
Starminder commentedmay 15 dev fixed it for me, thanks!