Uploaded image for project: 'Clowder'
  1. Clowder
  2. CATS-928

Remove a file removes everything but the File model

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 1.4.3
    • None
    • None
    • None

      This is due to the call to FileDAO.remove() with the file model that has been augmented with previews and sections. A call to removeById() should fix this.

      This might also be related to the fact that the file still shows up in ElasticSearch. Somewhere in the code there should be a call to ElasticSearch.reindex() with the file id.

              lmarini Luigi Marini
              lmarini Luigi Marini
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: