This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » eZ Publish 5 Platform » [EZ 5.3.0alpha1] Deleting image in BO...

[EZ 5.3.0alpha1] Deleting image in BO not working

[EZ 5.3.0alpha1] Deleting image in BO not working

Friday 16 May 2014 12:52:41 pm - 5 replies


I have a contentType which has an image fieldType, when I create the content and I choose an image It works but when I try to removing it by editing the content ("remove image" button) the image is still there in the field and in the storage.

I tried with I new EZ 5.3.0alpha1 installation via composer, same issue.

Any help please.

Friday 16 May 2014 1:07:33 pm


This is a known bug (EZP-22797)


Tuesday 20 May 2014 12:17:31 am

Hi AbdelAli,

this is a regression in the new version of eZ 2014.03, and the problem it was generating with this commit.

Thursday 22 May 2014 5:51:13 pm

Is there a way to fix this bug or maybe should we wait for the next version ?


Friday 26 September 2014 2:36:47 pm


I have the same error in the last ezpublish community version. It was fixed ?

I have the fix on my file :



Modified on Friday 26 September 2014 2:49:18 pm by Johann Roc

Monday 29 September 2014 6:53:09 pm


 to get this error fixed : 

in Kernel/classes/datatypes/ezimage/ezimagetype.php : replace this bits of script, between the lines 300 -> 306:

        if ( $content ){
            if ( $hasImageAltText ){
                $content->setAttribute( 'alternative_text', $imageAltText );
                $result = true;

       with :

        if ($hasImageAltText && $content->attribute( 'alternative_text') !=  $imageAltText )
            $content->setAttribute( 'alternative_text', $imageAltText );
            $result = true;

then  add  this :,


Modified on Tuesday 30 September 2014 4:59:27 pm by Youssef MEZZAT


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from