Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-2710

Form isn't accessible from the Back Office after removing a file which was uploaded with it

    XMLWordPrintable

    Details

    • Sprint:
      [3.0] - Sprint 4

      Description

      After deleting a file which was uploaded via Form, the same Form becomes inaccessible.

      Steps to reproduce:
      1. Create a new Form containing File and Button inputs.
      2. Upload a new file via this form and submit it.
      3. Try to access this file via Back Office.
      4. Remove the file (Send to Trash button)
      5. Try to access the Form via Back Office.

      Result:
      An exception is thrown:

      An exception has been thrown during the rendering of a template ("Parameter "locationId" for route "_ezpublishLocation" must match "[^/]++" ("" given) to generate a corresponding URL.").

      For further reference, please see attached stacktrace.png.

      6. Go to Trash and remove the file permamently.
      7. Try to access the Form via Back Office once again

      Result:
      Another exception is thrown:

      An exception has been thrown during the rendering of a template ("Could not find 'Content' with identifier '92'").

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            konrad.oboza@ez.no Konrad Oboza
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: