Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-16726

Src for original image in "Insert image" has a pipe ("|") at the end

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.3.0, 4.4.0
    • 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

      Attachments

        Activity

          People

            andre1 andre1
            d24ca137-3cee-42c9-86d9-b8fd9173fb23@accounts.ibexa.co Gabriel Finkelstein
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: