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

Error when trashing a content with 2 versions and an empty image field

    XMLWordPrintable

    Details

    • Sprint:
      Castor Core S8

      Description

      When sending to trash content that has more than one version and with an empty image field (like an article), an error occurs:

      eZFileHandler::link:
      Cannot link to file , it does not exist
      eZFileHandler::copy:
      Unable to open source file  in read mode
      

      If i don't remove the article to trash, the error don't happen.

      Steps To Reproduce
      • Create an article
      • Edit the article and publish it (this will create a new version)
      • Delete the article, sending it to trash

      It's when we remove the article that the error appears on ezdebug.

      Note: Tried to remove the first version (the archived one), but the error still happens.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            Paulo.Silva-obsolete@ez.no Paulo Silva (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: