Problem in edit and save profile after form validation
------------------------------------------------------
Key: APF-1075
URL:
http://issues.appfuse.org/browse/APF-1075 Project: AppFuse
Issue Type: Bug
Components: Web - JSF
Affects Versions: 2.0.2, 2.0.1
Reporter: Sharif Uddin
Assignee: Matt Raible
# Create an Appfuse2 project of ArchType 'JSF Basic' using command "mvn archetype:create....."
# Run the application using the command "mvn jetty:run-war"
# Login as admin
# Go to Edit Profile
# Put an invalid phone number or invalid zip code and press Save button. (just to activate the validation after form submit)
# After seeing some error message put valid entry on the corresponding field showing validation error message.
# Now press Save button. bingo...Access Denied!
# Now u can never login as admin! bcz the Admin_Role of user 'admin' get lost (role returing null) due to the previous Save action. (the entry related to user 'admin' in table 'user_role' got deleted somehow for that save operation)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.appfuse.org/secure/Administrators.jspa-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail:
[hidden email]
For additional commands, e-mail:
[hidden email]