Closed (fixed)
Project:
Masquerade
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Mar 2011 at 19:51 UTC
Updated:
7 Jun 2014 at 20:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
andypostdescribe a control which gives you this error? block, menu, user profile
Comment #2
timos commentedHi,
I get this error with an autocompletion field for masquerade in a block.
Comment #3
Anonymous (not verified) commentedGetting this same issue.
Enter "Anonymous" in the Masquerade block switcher - autocomplete works fine but when you submit the form, it returns the error: "User Anonymous does not exist. Please enter a valid username."
This is a fresh Drupal 7 install.
Comment #4
Anonymous (not verified) commentedI did some further testing and it seems like this is the cause:
With that block commented out, the code works fine, from my testing. I hope this is OK - it's my first patch. Let me know if I'm stepping on toes! :)
Comment #5
andypostMake sense, actually this hunk should be removed because Anonimous name is changed to '' at _masquarade_user_load()
Not sure about alt_login module but this hunk should be removed
Comment #6
andypostGoing to commit this patch which also adds a trim() for field value
Comment #7
andypostRC-4 blocker
Comment #8
andypostThanx, fixed