A robust starter web application to ease Java webapp development.

Home | Tutorials | Demos | Issues

[JIRA] Created: (APF-1082) Objects are committed to database in web module tests generated using AppFuse Maven Plugin

View: New views
2 Messages — Rating Filter:   Alert me  

[JIRA] Created: (APF-1082) Objects are committed to database in web module tests generated using AppFuse Maven Plugin

by AppFuse - Issues mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

                 Key: APF-1082
                 URL: http://issues.appfuse.org/browse/APF-1082
             Project: AppFuse
          Issue Type: Bug
          Components: Tools - AMP
    Affects Versions: 2.0.2
         Environment: Mac OS X 10.5.3, Java 6, Maven 2.0.9, appfuse-modular-struts
            Reporter: Marcello Teodori
            Assignee: Matt Raible
         Attachments: patch.diff

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.

--
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: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...


[JIRA] Updated: (APF-1082) Objects are committed to database in web module tests generated using AppFuse Maven Plugin

by AppFuse - Issues mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://issues.appfuse.org/browse/APF-1082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Raible updated APF-1082:
-----------------------------

    Fix Version/s: 2.1

> Objects are committed to database in web module tests generated using AppFuse Maven Plugin
> ------------------------------------------------------------------------------------------
>
>                 Key: APF-1082
>                 URL: http://issues.appfuse.org/browse/APF-1082
>             Project: AppFuse
>          Issue Type: Bug
>          Components: Tools - AMP
>    Affects Versions: 2.0.2
>         Environment: Mac OS X 10.5.3, Java 6, Maven 2.0.9, appfuse-modular-struts
>            Reporter: Marcello Teodori
>            Assignee: Matt Raible
>             Fix For: 2.1
>
>         Attachments: patch.diff
>
>
> 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.

--
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: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...

LightInTheBox - Buy quality products at wholesale price