U4-9709 - Image Cropper removes file from disk when saving (not publishing) which breaks the page

Created by Jeffrey Schoemaker 31 Mar 2017, 08:49:33 Updated by Jeffrey Schoemaker 31 Mar 2017, 08:49:33

We've got a very annoying issue with the Image Cropper that is not the behavior that I expected.

It's a site which has pictures of all their employees online. Now they've updated their styleguide and made pictures in the new style for all of their employees and they were uploading them into Umbraco, but just saving and not yet publishing, because they wanted to publish them on a certain date (so all of the pictures in the new style were shown at once).

I didn't expect that the picture would be deleted from disk when saving a node.

The setup is as follows:

  • Umbraco 7.5.x
  • ImageCropper directly on the node (not a media picker)
  • Upload a new picture on the node and save (not publish) the node => The original image is removed from disk, but it is still needed in the frontend of the website (because it's still published)

What I did expect to happen:

  • Only on Publish images would have been removed from disk.

Hope this makes sense!

Jeffrey

4 Attachments

Comments

Priority: Major

Type: Bug

State: Submitted

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.5.1, 7.5.2, 7.5.3, 7.5.4, 7.5.5, 7.5.6, 7.5.7, 7.5.8, 7.5.9, 7.5.10

Due in version:

Sprint:

Story Points:

Cycle: