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

Deleting Image contents does not correctly remove images from storage in DFS

    Details

      Description

      On administration interface, create a folder 'Folder' on Home.
      Inside folder 'Folder', create an Image with name "SomeImage", with caption "Image caption v1", and upload an image file into it.
      Edit the image 'SomeImage' and alter caption to 'Image caption v2'.
      Now remove the image (send into Trash).
      On CLI, go to DFS shared folder (ex: /mnt/ezdfs/var/ezflow_site/storage/images/folder/image/193-1-eng-GB).
      Inside, there's the folder "Trashed" as expected, but also one of the image aliases (SomeImage_medium.png) is outside the Trashed folder (that should not).

      On administration interface, go to the Trash and restore the deleted image "SomeImage" back to its original location (below folder 'Folder').
      Back on CLI, verify the storage path again, and notice the trashed folder is still present and inside it there is an image alias in the format 30ead47ee0606baab0e3b31ffe576724_medium.png that should not be there.

        Activity

        Rui Silva (Inactive) created issue -
        Rui Silva (Inactive) made changes -
        Field Original Value New Value
        Status Open [ 1 ] Confirmed [ 10037 ]
        Hide
        Bertrand Dunogier added a comment -

        Was the behaviour different in earlier versions ?

        Show
        Bertrand Dunogier added a comment - Was the behaviour different in earlier versions ?
        Hide
        Rui Silva (Inactive) added a comment -

        Bertrand Dunogier, this issue seems to have been introduced on 5.3, since on 5.2 it doesn't happen but starts happening from 5.3.
        On 5.3 though, unlike 5.4, one more alias file fails to be taken into account like the "_medium" alias, which is the "_imagelarge".

        Show
        Rui Silva (Inactive) added a comment - Bertrand Dunogier , this issue seems to have been introduced on 5.3, since on 5.2 it doesn't happen but starts happening from 5.3. On 5.3 though, unlike 5.4, one more alias file fails to be taken into account like the "_medium" alias, which is the "_imagelarge".
        André Rømcke made changes -
        Workflow eZ Engineering Scrumban Workflow [ 65127 ] EZ* Development Workflow [ 70258 ]
        Alex Schuster made changes -
        Workflow EZ* Development Workflow [ 70258 ] EZEE Development Workflow [ 108552 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Confirmed Confirmed
        1m 20s 1 rui.silva@ez.no 11/Nov/14 1:09 PM

          People

          • Assignee:
            Unassigned
            Reporter:
            Rui Silva (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated: