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

3 messages Options
Embed this post
Permalink
AppFuse - Issues mailing list

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

Reply Threaded More More options
Print post
Permalink
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: [hidden email]
For additional commands, e-mail: [hidden email]

AppFuse - Issues mailing list

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

Reply Threaded More More options
Print post
Permalink

     [ 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: [hidden email]
For additional commands, e-mail: [hidden email]

AppFuse - Issues mailing list

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

Reply Threaded More More options
Print post
Permalink
In reply to this post by AppFuse - Issues mailing list

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

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

    Fix Version/s:     (was: 2.1.0-M1)
                   2.1.0-M2

> 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.0-M2
>
>         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: [hidden email]
For additional commands, e-mail: [hidden email]