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

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

[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

Hi,

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

Hi,

This is a known bug (EZP-22797)

Hakim

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 ?

Thanks.

Friday 26 September 2014 2:36:47 pm

Hi,

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

I have the fix on my file :https://github.com/ezsystems/ezpu...1503c075e31d396c9a4362368002c78c7ebf

Thanks

Djoo

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

Monday 29 September 2014 6:53:09 pm

HI,

 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 :  https://github.com/ezsystems/ezpu...1503c075e31d396c9a4362368002c78c7ebf,

Tks,

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

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from