eZ Community » Forums » eZ Publish 5 Platform » IOService exception when importing...
expandshrink

IOService exception when importing package containing image

IOService exception when importing package containing image

Wednesday 19 June 2013 8:37:00 am

Hi guys,

I recently got following exception with an eZ object containing an image (eZ 5.1 EE final):

Argument '$uri' is invalid: Prefix images not found in images-versioned/ID/LANGUAGE_CODE/IMAGE.jpg

It seems to be kind of package related, since I imported the "problem object" via setup -> packages. I tried to debug, what's going on and found out, that $this->settings['prefix'] inĀ /vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/IO/IOService.php has always the string "images", but in this case, it needs to be "images-versioned" (see line 348). If I change this string via xdebug to "images-versioned", it seems to work.

Is this my mistake?

Thanks in advance! Best regards,

Ryad

Edit: A the moment, I help myself usingĀ $uri = str_replace('images-versioned', 'images', $uri); before the if condition in line 348

Modified on Wednesday 19 June 2013 8:40:14 am by Ryad-Marcel El-Dajani

No reply yet!

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from