Cytomine-core icon indicating copy to clipboard operation
Cytomine-core copied to clipboard

Filename displayed in storage changes after deletion of a converted file

Open elodieburtin opened this issue 5 years ago • 0 comments

The issue can be reproduced by performing the following steps:

  1. Upload a PNG image (let us denote it img.png)
  2. Access the storage Result: the file uploaded at step 1 is displayed with its initial filename (img.png)
  3. Click on details, and in the file tree, delete img.png (root file) Result: The list of files in the storage is updated, and the filename of the file uploaded at step 1 is now displayed as "img_pyr.tif"

It may make sense to update the filename to "img_pyr.tif" as the original PNG file no longer exists. However, it may confuse the user. Moreover, if this is done on purpose, the filename should be updated everywhere: currently, the storage is the only page where it is changed. On other pages (e.g. view of images in a project), the original filename is still used.

elodieburtin avatar Aug 21 '18 08:08 elodieburtin