Issue Details (XML | Word | Printable)

Key: APF-838
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Matt Raible
Reporter: Christophe Thi?baud
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
AppFuse

On the Add User Form, the Delete button should not be displayed after the Save has not been successful

Created: 24/Jul/07 06:30 AM   Updated: 20/Sep/07 07:16 AM   Resolved: 20/Sep/07 07:16 AM
Component/s: Web - Struts
Affects Version/s: 2.0-M5
Fix Version/s: 2.0 Final

Environment: Tested on a struts2 modular project generated with AppFuse M5, deployed on Tomcat 6 + MySQL5 on a Windows 2003 server.


 Description  « Hide
On the Add User Form, the delete button appears after an unsuccessful Save. Subsequent Delete result in exception (which is correct). the re-display of the Delete button is not correct.

My workflow is
1- Add user
2- Enter a Username
3- Click Save
4- Click Delete (because this button appears although nothing has been saved in
the DB)
5- Get Error page:

Yikes!
javax.servlet.ServletException: javax.servlet.ServletException:
java.lang.NullPointerException
        at
net.sf.ehcache.constructs.web.filter.Filter.logThrowable(Filter.java:152)
        at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:97)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

-------

Christophe Thi?baud added a comment - 20/Sep/07 03:20 AM
Tested on Appfuse 2.0. Issue is not present any more. Please Close the Bug.
Thanks.

Matt Raible made changes - 20/Sep/07 07:16 AM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 2.0 Final [ 10113 ]
Resolution Fixed [ 1 ]