[jira] Created: (OFBIZ-1254) XML Data Export All does not include data present in blob fields

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

[jira] Created: (OFBIZ-1254) XML Data Export All does not include data present in blob fields

Nicolas Malin (Jira)
XML Data Export All does not include data present in blob fields
----------------------------------------------------------------

                 Key: OFBIZ-1254
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1254
             Project: OFBiz
          Issue Type: Bug
    Affects Versions: SVN trunk
            Reporter: Arno Peters


When exporting XML data to a directory using 'XML Data Export All', data present in blob fields is not included in the export.

How to reproduce:

  1) https://localhost:8443/partymgr/control/viewprofile?partyId=admin
  2) Under section 'Party Content', attach content to admin.  I used: a png image, 'User Defined Content', 'Publisher', 'PNG Image'
  3) Note the contentID
  4) https://localhost:8443/webtools/control/EntityExportAll
  5) Set output directory to (for example): '/tmp/ofbiz-export' (ensure it exists) and click 'Export'
  6) Open /tmp/ofbiz-export/ImageDataResource.xml and look for dataResourceId that is the same as contentID in step 4
  7) Note missing image data.
  8) Compare with https://localhost:8443/webtools/control/FindGeneric?entityName=ImageDataResource&find=true&VIEW_SIZE=50&VIEW_INDEX=0

--
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-1254) XML Data Export All does not include data present in blob fields

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534601 ]

Adam Heath commented on OFBIZ-1254:
-----------------------------------

This is because writeXmlText does *not* handle ByteWrapper; it only handles byte[].  I'll get this fixed after I get all my other changes applied.

> XML Data Export All does not include data present in blob fields
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-1254
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1254
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>            Reporter: Arno Peters
>
> When exporting XML data to a directory using 'XML Data Export All', data present in blob fields is not included in the export.
> How to reproduce:
>   1) https://localhost:8443/partymgr/control/viewprofile?partyId=admin
>   2) Under section 'Party Content', attach content to admin.  I used: a png image, 'User Defined Content', 'Publisher', 'PNG Image'
>   3) Note the contentID
>   4) https://localhost:8443/webtools/control/EntityExportAll
>   5) Set output directory to (for example): '/tmp/ofbiz-export' (ensure it exists) and click 'Export'
>   6) Open /tmp/ofbiz-export/ImageDataResource.xml and look for dataResourceId that is the same as contentID in step 4
>   7) Note missing image data.
>   8) Compare with https://localhost:8443/webtools/control/FindGeneric?entityName=ImageDataResource&find=true&VIEW_SIZE=50&VIEW_INDEX=0

--
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-1254) XML Data Export All does not include data present in blob fields

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

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

Marco Risaliti updated OFBIZ-1254:
----------------------------------

    Component/s: framework

> XML Data Export All does not include data present in blob fields
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-1254
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1254
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Arno Peters
>
> When exporting XML data to a directory using 'XML Data Export All', data present in blob fields is not included in the export.
> How to reproduce:
>   1) https://localhost:8443/partymgr/control/viewprofile?partyId=admin
>   2) Under section 'Party Content', attach content to admin.  I used: a png image, 'User Defined Content', 'Publisher', 'PNG Image'
>   3) Note the contentID
>   4) https://localhost:8443/webtools/control/EntityExportAll
>   5) Set output directory to (for example): '/tmp/ofbiz-export' (ensure it exists) and click 'Export'
>   6) Open /tmp/ofbiz-export/ImageDataResource.xml and look for dataResourceId that is the same as contentID in step 4
>   7) Note missing image data.
>   8) Compare with https://localhost:8443/webtools/control/FindGeneric?entityName=ImageDataResource&find=true&VIEW_SIZE=50&VIEW_INDEX=0

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