Issue Details (XML | Word | Printable)

Key: APF-1082
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Matt Raible
Reporter: Marcello Teodori
Votes: 0
Watchers: 0
Operations

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

Objects are committed to database in web module tests generated using AppFuse Maven Plugin

Created: 08/Jul/08 11:04 AM   Updated: 13/Nov/09 06:37 PM
Component/s: Tools - AMP
Affects Version/s: 2.0.2
Fix Version/s: 2.1.0-M2

File Attachments: 1. File patch.diff (1 kB)

Environment: Mac OS X 10.5.3, Java 6, Maven 2.0.9, appfuse-modular-struts


 Description  « Hide
The sample object that is used for example in the *ActionTest classes generated from entities when using Struts2 is created and saved to database within a onSetupBeforeTransaction method, so it gets committed to database. Its content should be moved to the method onSetupInTransaction, as to rollback the insert along with the transaction opened to execute the test method.

Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.