Closed (fixed)
Project:
Node registration
Version:
7.x-1.15
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Jan 2013 at 13:41 UTC
Updated:
29 Sep 2014 at 13:18 UTC
Jump to comment: Most recent
Comments
Comment #1
rudiedirkx commentedWhat's the URL and how did you get there?
Comment #2
svanou commentedI created a user admin back-end.
The url is http://mydomainname/registration/29/edit
Administration can manage registration with no problems but individuals permissions for authenticated user does not seem to be working.
Also, I've installed memcache and boost lately. Could that cause a problem?
Not quite sure how to troubleshoot this one!
Should I upgrade to latest dev ?
Thanks!
Comment #3
rudiedirkx commentedI don't think memcached or boost is the problem. I've no idea what is though. You can try dev, but I don't think that'll help either =)
I've tried with 1 registration node type and a user with no roles with access can edit and cancel. I created a Views block to show me my registration while on the node page:
Maybe you can make a screenshot of the NR permissions? Or send me the databse so I can try with my codebase and your data. I don't know...
Comment #4
svanou commentedAlso, you can have a look here :
www.rob.co.th/user/login
username: nrdrupal
passwrod: nrdrupal
I've made one booking for you so just go to your account / my reservations and you should see the link.
Thanks a lot, Sylvain
Comment #5
rudiedirkx commentedI see. Are you sure this user has access to edit or cancel their booking? I've no idea otherwise...
You can debug (if you can) the access function. You can add some echo statements after
case 'cancel':innode_registration_access()inincludes/node_registration.api.inc. Somewhere around here.Comment #6
svanou commentedSorry, my bad... User could only cancel registration 1 day in advance in the settings.....That's why did not have permissions to edit or cancel.
Comment #7
rudiedirkx commentedNo problem. If you feel that should've been more obvious you can make a feature request and I might improve it (if you have an idea on how).
Comment #8
svanou commentedNope, it was obvious.. Work as expected! Thanks !
Comment #9
wafaa.yousef commentedI have the same issue. I could not view, edit or delete any registration even when I am logged in as admin. The permissions are fine. But, the cancel link is fine. I access the edit and delete links from the view you provide that is with url http://siteurl/registration/3/edit?destination=node/143/node_registration
and also http://siteurl/registration/3/edit from the link sent by mail when a user registers
Do you have any solution?
Thanks
Comment #10
rudiedirkx commentedWhat happens on http://siteurl/registration/3/edit ?
Comment #11
wafaa.yousef commentedThanks for you quick reply. When I go to view or edit link, I get this:
In case of edit:
Page not found
The requested page "/registration/3/edit" could not be found.
In case of view:
Page not found
The requested page "/registration/5" could not be found.
Comment #12
rudiedirkx commentedDo you have Entity Registration and Node Registration both enabled?
Comment #13
wafaa.yousef commentedYea thanks so much this was the issue once I disabled Entity Registration, the links are working now. But, another question. Delete link does not appear in the view and even when I try to add delete operation to VBO and try to execute the delete in any registration, the page loads without deleting the item. Is it normal behaviour? So it can't be deleted?
Comment #14
rudiedirkx commentedTo delete a registration, it has to be canceled. Maybe that's why.
Comment #15
wafaa.yousef commentedyea .. thanks it works.