Bug #46266

Work Package #45020: Content Editing Stability and Features

Deleting an Image content element having no image results into exception

Added by Adrian Föder over 2 years ago. Updated 9 months ago.

Status:Closed Start date:2013-03-14
Priority:Should have Due date:
Assigned To:- % Done:

100%

Category:-
Target version:-

Description

When attempting to delete an Image Content Element that has not (yet) an image assigned, but only its placeholder representation, the following error message occurs after confirming the delete? dialog:

ExtDirect error: Uncaught exception #1297759968 (ref 201303141055336bf762) - Exception while property mapping for target type "TYPO3\TYPO3CR\Domain\Model\PersistentNodeInterface", at property path "": Exception while property mapping for target type "TYPO3\Media\Domain\Model\ImageVariant", at property path "": No converter found which can be used to convert from "string" to "TYPO3\Media\Domain\Model\ImageVariant".

Aske on IRC:

it's because it tries to map the image property to a image variant, but there is none until you upload an image

This issue also happens when trying to save something on an element with an image property before uploading an image

History

#1 Updated by Gerrit Code Review over 2 years ago

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19305

#2 Updated by Gerrit Code Review over 2 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19305

#3 Updated by Gerrit Code Review over 2 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19305

#4 Updated by Aske Ertmann over 2 years ago

  • Status changed from New to Under Review
  • % Done changed from 0 to 90

#5 Updated by Gerrit Code Review over 2 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19305

#6 Updated by Aske Ertmann over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 90 to 100

#7 Updated by Aske Ertmann 9 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF