We have found that the email address of the last registered user pops up in the register form when the next user registers - login is set to "invite only."

Possibly this has something to do various caching that is running, may not be anything to do with invite but drupal!

Disconcerting for paranoid users ... who may opt not to join!

Happy to elaborate if required.

Thanks in anticipation

FC

CommentFileSizeAuthor
#1 invite_caching_issue.patch1.25 KBsmk-ka

Comments

smk-ka’s picture

Component: User interface » Code
Assigned: Unassigned » smk-ka
Category: support » bug
Status: Active » Needs review
StatusFileSize
new1.25 KB

Confirming this is an issue.

For now I don't fill in the invitee's email address anymore if caching has been enabled. That's not a nice solution from a usability POV but it works at least. Please test the attached patch, but make sure you clear your page cache after applying it (either using devel module or by emptying the cache_page table).

projectspoint’s picture

Just a quick note to thank you for the very prompt reply, along with a fix.

On testing it appears to work as expected, ie the invitees email address field is cleared when they accept an invitation and drupal caching is on.

Yes in usability terms it might be better for the recipient's email to appear ready formed, but I guess it prompts a choice as to whether to use a different address.

Once again, a big thank you

FC

smk-ka’s picture

Status: Needs review » Fixed

Thank you for testing, this has finally been committed.
http://drupal.org/cvs?commit=87821

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.