Closed (fixed)
Project:
Invite
Version:
6.x-2.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Aug 2010 at 23:22 UTC
Updated:
19 Aug 2010 at 10:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
robby.smith commentedsubscribing
Comment #2
rjbrown99 commentedThis is strange to me as to why this is happening. I added some debug statements inside of invite_menu_alter and it's not being called from there. Something else is calling invite_user_register_access() but I have yet to determine what it is. I also checked the form_id values just to be sure and it is not user_admin_settings so it's not coming from there either.
They seem to be the only two places where that function is called. Yet I add a debug statement to invite_user_register_access() and I do see it firing. So something, somewhere, is calling that function.
My page has two forms. user_pass, and requestinvitation_form (from the Request Invitation module). Neither one of them has any relationship to invite_user_register_access(). I'm still looking but it's strange as to what's calling that function.
Comment #3
rjbrown99 commentedLooks like it comes from the default Drupal menu.inc based on a debug_backtrace():
This seems to originate from this issue: #374869: Invite's registration access control conflicts with LDAP Provisioning module.
Comment #4
smk-ka commentedThis happens because the menu system checks access for all displayed tabs. So we need to make sure the message is only output when on the user/register tab, and not for any other.
Comment #5
smk-ka commentedThe fix has been committed to CVS.