[appfuse-issues] [JIRA] Updated: (APF-269) Bug in updating User's Profile

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[appfuse-issues] [JIRA] Updated: (APF-269) Bug in updating User's Profile

AppFuse - Issues mailing list
     [ http://issues.appfuse.org/browse/APF-269?page=all ]

Matt Raible updated APF-269:

        Version: 1.9.2
    Fix Version: 1.9.3
      Component: Web - WebWork

> Bug in updating User's Profile
> ------------------------------
>          Key: APF-269
>          URL: http://issues.appfuse.org/browse/APF-269
>      Project: AppFuse
>         Type: Bug

>   Components: Web - WebWork
>     Versions: 1.9.2
>     Reporter: Scott Hong
>     Assignee: Matt Raible
>      Fix For: 1.9.3

> There is one strange behavior when the user profile is updated.
> module: AppFuse+Webwork
> How to re-create this bug:
> 1. Login as tomcat and go to edit my profile
> http://localhost:8080/appfuse/editProfile.html
> 2. Change the email field from
>     [hidden email] to [hidden email]
>    Since [hidden email] already exists, an error message will be shown as:
> This username (tomcat) or e-mail address ([hidden email]) already exists. Please try a different username.
> 3. Change the email field again to any other valid email address and the
> "Data Access Failure" occurs which gives the following error message.
> Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.appfuse.model.User#tomcat]; nested exception is org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.appfuse.model.User#tomcat]
> It seems that this behavior is not desired and should be fixed.
> In general, if the email field is first changed to something that already exists in the
> database, after the error occurs, anything modification to the email field, updating
> the user again will always cause "Data Access Failure".
> More details in the following thread.
> http://www.nabble.com/Possible-Bug%3A-editUser-t1077696c2369.html

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]