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

Remove a file removes everything but the File model

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Critical
    • Resolution: Fixed
    • None
    • 1.4.3
    • None
    • None

    Description

      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.

      Gliffy Diagrams

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Tasks