History | Log In     View a printable version of the current page.  
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
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)

-------

 All   Comments   Change History   FishEye      Sort Order:
Christophe Thiébaud - 20/Sep/07 03:20 AM
Tested on Appfuse 2.0. Issue is not present any more. Please Close the Bug.
Thanks.