Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21102

[Public API] Image will be lost when creating a draft with an new image

    XMLWordPrintable

Details

    Description

      Create/update content add an image from disk and save it as a draft and the image wont be saved.

      Steps:
      (on Public API)
      1 - Create new ContentCreateStruct of content type "article"
      2 - fill data:
          - Name: Test article
          - Intro:                 
                '<?xml version="1.0" encoding="utf-8"?>
                 <section xmlns:image="http://ez.no/namespaces/ezpublish3/image/"
                      xmlns:xhtml="http://ez.no/namespaces/ezpublish3/xhtml/"
                      xmlns:custom="http://ez.no/namespaces/ezpublish3/custom/">
                          <paragraph xmlns:tmp="http://ez.no/namespaces/ezpublish3/temporary/">
                              This a xml text/block
                          </paragraph>
                 </section>'
           - Image: (add some image from disk)
      3 - Create new draft with this content info
      
      (on eZPublish)
      1 - go to "Content structure" -> "Test article"
      2 - click on "Manage versions"
      3 - click on the draft
      4 - verify that the image is not present
      
      (on terminal)
      1 - go to <site>/ezpublish_legacy/var/<siteaccess>/storage
      2 - verify that the image isn't there
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            marcos.loureiro-obsolete@ez.no Marcos Loureiro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: