Active
Project:
Auto Assign Role
Version:
6.x-1.1
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 Nov 2009 at 04:01 UTC
Updated:
17 Sep 2010 at 03:15 UTC
Hi,
When a user forgets or fails to select a role while registering and the selection of a role is required for registration, an error in the forms category is logged. This is an error, but I think it should now be logged as this kind of error.
At first I was thinking I was getting hacked.
Maybe a notice will be more suitable to log for this kind of error. Also it might help to log the user basic info like username.
Thank you,
Emil Acosta
Comments
Comment #1
cyberswat commentedI don't believe this is a bug as the error does get thrown using FAPI unless I'm not understanding you. Please clarify and provide a patch to resolve this issue.
Comment #2
emilorol commentedYeah you are right at the end I realized that it was not a bug on your end, but the way FAPI process form errors.
The only way I thought it might show a better error log information will be to pre-process the form submit function to add a condition that if the new user did not selected any role then to show the user a more informative message as well as log a more user friendly message. Like I said before the first time I saw the red error I thought I was getting hack by brute force or something.