[jira] Created: (OFBIZ-1728) XML export of a no-auto-stamp entity does not work

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-1728) XML export of a no-auto-stamp entity does not work

Nicolas Malin (Jira)
XML export of a no-auto-stamp entity does not work
--------------------------------------------------

                 Key: OFBIZ-1728
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1728
             Project: OFBiz
          Issue Type: Bug
          Components: framework
    Affects Versions: SVN trunk
         Environment: Win XP - OFBIZ SVN trunk 642807
            Reporter: Bruno Busco


When trying to XML export an entity that has been configured with the no-auto-stamp="true" property the following error is generated:

org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://webtools/widget/CommonScreens.xml#main-decorator]: org.ofbiz.entity.transaction.GenericTransactionException: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error reading data for XML export:org.ofbiz.entity.GenericModelException: Field with name createdTxStamp not found in the Articolo Entity (Field with name createdTxStamp not found in the Articolo Entity) (The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error reading data for XML export:org.ofbiz.entity.GenericModelException: Field with name createdTxStamp not found in the Articolo Entity (Field with name createdTxStamp not found in the Articolo Entity))


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-1728) XML export of a no-auto-stamp entity does not work

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ray Barlow updated OFBIZ-1728:
------------------------------

    Attachment: entity_export.patch

Bruno,

To be clear the error only happened for me when specifying an updated since or before date. Attached is a patch file that will take into account the no-auto-stamp setting for each entity and effectively ignores the date filter for those with a setting of true as we have no way of filtering them. It handles direct to file, to folder and to browser don't think there are any more.

Please test against the latest SVN and feedback here as you will likely get someone with framework commit access to review and apply quicker if you do.

Ray

> XML export of a no-auto-stamp entity does not work
> --------------------------------------------------
>
>                 Key: OFBIZ-1728
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1728
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: Win XP - OFBIZ SVN trunk 642807
>            Reporter: Bruno Busco
>         Attachments: entity_export.patch
>
>
> When trying to XML export an entity that has been configured with the no-auto-stamp="true" property the following error is generated:
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://webtools/widget/CommonScreens.xml#main-decorator]: org.ofbiz.entity.transaction.GenericTransactionException: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error reading data for XML export:org.ofbiz.entity.GenericModelException: Field with name createdTxStamp not found in the Articolo Entity (Field with name createdTxStamp not found in the Articolo Entity) (The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error reading data for XML export:org.ofbiz.entity.GenericModelException: Field with name createdTxStamp not found in the Articolo Entity (Field with name createdTxStamp not found in the Articolo Entity))

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1728) XML export of a no-auto-stamp entity does not work

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587340#action_12587340 ]

Bruno Busco commented on OFBIZ-1728:
------------------------------------

Many thanks Ray!

I have tested the patch against the last SVN trunk (646522) and now it is ok. For my no-auto-stamp entity all the records are exported regardless of the dates put in the fields.

You are right, the error that I mentioned was only when asking for a to-file export. For to-folder export it was already OK.
But now it is ok in all cases !

> XML export of a no-auto-stamp entity does not work
> --------------------------------------------------
>
>                 Key: OFBIZ-1728
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1728
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: Win XP - OFBIZ SVN trunk 642807
>            Reporter: Bruno Busco
>         Attachments: entity_export.patch
>
>
> When trying to XML export an entity that has been configured with the no-auto-stamp="true" property the following error is generated:
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://webtools/widget/CommonScreens.xml#main-decorator]: org.ofbiz.entity.transaction.GenericTransactionException: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error reading data for XML export:org.ofbiz.entity.GenericModelException: Field with name createdTxStamp not found in the Articolo Entity (Field with name createdTxStamp not found in the Articolo Entity) (The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error reading data for XML export:org.ofbiz.entity.GenericModelException: Field with name createdTxStamp not found in the Articolo Entity (Field with name createdTxStamp not found in the Articolo Entity))

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (OFBIZ-1728) XML export of a no-auto-stamp entity does not work

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux reassigned OFBIZ-1728:
--------------------------------------

    Assignee: Jacques Le Roux

> XML export of a no-auto-stamp entity does not work
> --------------------------------------------------
>
>                 Key: OFBIZ-1728
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1728
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: Win XP - OFBIZ SVN trunk 642807
>            Reporter: Bruno Busco
>            Assignee: Jacques Le Roux
>         Attachments: entity_export.patch
>
>
> When trying to XML export an entity that has been configured with the no-auto-stamp="true" property the following error is generated:
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://webtools/widget/CommonScreens.xml#main-decorator]: org.ofbiz.entity.transaction.GenericTransactionException: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error reading data for XML export:org.ofbiz.entity.GenericModelException: Field with name createdTxStamp not found in the Articolo Entity (Field with name createdTxStamp not found in the Articolo Entity) (The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error reading data for XML export:org.ofbiz.entity.GenericModelException: Field with name createdTxStamp not found in the Articolo Entity (Field with name createdTxStamp not found in the Articolo Entity))

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-1728) XML export of a no-auto-stamp entity does not work

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-1728.
----------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk

Thanks Bruno and Ray,

Ray your patch is in trunk. rev. 647413  


> XML export of a no-auto-stamp entity does not work
> --------------------------------------------------
>
>                 Key: OFBIZ-1728
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1728
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: Win XP - OFBIZ SVN trunk 642807
>            Reporter: Bruno Busco
>            Assignee: Jacques Le Roux
>             Fix For: SVN trunk
>
>         Attachments: entity_export.patch
>
>
> When trying to XML export an entity that has been configured with the no-auto-stamp="true" property the following error is generated:
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://webtools/widget/CommonScreens.xml#main-decorator]: org.ofbiz.entity.transaction.GenericTransactionException: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error reading data for XML export:org.ofbiz.entity.GenericModelException: Field with name createdTxStamp not found in the Articolo Entity (Field with name createdTxStamp not found in the Articolo Entity) (The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error reading data for XML export:org.ofbiz.entity.GenericModelException: Field with name createdTxStamp not found in the Articolo Entity (Field with name createdTxStamp not found in the Articolo Entity))

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.