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)
- Create a Content Item of type Image.
- Create a CI using the CT with ezimageasset field.
- Use "Select form your Repository" and chose the image from step 1.
- Publish the Content Item using the Image Asset field.
- Send the image from step 1 to Trash.
- Remove it from Trash.
- 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).