Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.3.0, 4.4.0alpha1
-
None
-
PHP Version: 5.2.6
eZ OE version: 5.1-0
eZ Publish version: 4.3.0
Description
When inserting an image, the src for the "original" alias has a pipe ("|") at the end. For example:
var/<siteaccess>/storage/images/media/images/3/418-1-esl-AR/3.jpg|
I've traced this problem to the toString method in eZImageType. Since eZ 4.3.0, that method returns "<image url>|<alternative text>" instead of just "<image url>". That method is used by ezjscAjaxContent::nodeEncode(), which is used by ezoe/load view, which is used by OE for the preview dialog.
Steps to reproduce
1. Insert an image
2. In "Size" select "Original"
3. Check preview image's url