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

Image Asset item crashes Images view after deleting image

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 3.1.5, 3.2.2
    • 3.1.4, 3.2.1
    • None

    Description

      Image Asset item crashes Images view after deleting image.

      Prereq.: Content Type with ezimageasset field exists.

      Steps: (for v3.2 with "Can be a thumbnail" false, see Remarks for v3.1)

      1. Create a Content Item of type Image.
      2. Create a CI using the CT with ezimageasset field.
      3. Use "Select form your Repository" and chose the image from step 1.
      4. Publish the Content Item using the Image Asset field.
      5. Send the image from step 1 to Trash.
      6. Remove it from Trash.
      7. Try to load the Content / Media / Images path in the back-office.

      Actual result: Error 404:

      Could not find 'Content' with identifier 'array (
      'id' => 63,
      'languages' =>
      array (
      0 => 'eng-GB',
      1 => 'fre-FR',
      2 => 'ger-DE',
      3 => 'pol-PL',
      ),
      'versionNo' => NULL,
      )'
      

      Expected result: Path can be loaded w/o errors.

      Remarks: Could not reproduce on v3.1.4. Update: The problem affects 3.1 also when the "Can be a thumbnail" option is set to true. Then error occurs also on Dashboard and behaviour in Content / Media is different (Not Found error in UI at the bottom).
      In prod environment additionally translation seems to be missing (screenshot 2).

      Attachments

        1. EZP-32128.png
          EZP-32128.png
          158 kB
        2. EZP-32128 2.png
          EZP-32128 2.png
          37 kB

        Activity

          People

            Unassigned Unassigned
            michal.szoltysek@ibexa.co Michał Szołtysek
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: