[ 
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 via email to