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

Online editor removes embedded images from custom tags - e.g. factbox.

    Details

      Description

      If a page with an embedded image in a custom tag is edited, the online editor removes the image from the custom tag.

      Steps to reproduce

      1. Create a object
      1.1 Create a factbox
      1.2 Include an image in the factbox
      1.3 Publish this object
      Result: => When published the object is correctly stored.

      2. Edit the object again in editor mode (with editor mode turned off, the image is still included)
      Result: => Factbox does not contain an image

        Issue Links

          Activity

          Hide
          Sebastian Blank added a comment - - edited

          The bug can be fixed by removing the lines 1344 - 1350 in the ezxmltext/handlers/input/ezoexmlinput.php file (see attachment)

          GitHub Link to file: https://github.com/ezsystems/ezoe/blob/master/ezxmltext/handlers/input/ezoexmlinput.php#L1344!Snap_2012.03.09 12.05.04_001.png|thumbnail!

          Show
          Sebastian Blank added a comment - - edited The bug can be fixed by removing the lines 1344 - 1350 in the ezxmltext/handlers/input/ezoexmlinput.php file (see attachment) GitHub Link to file: https://github.com/ezsystems/ezoe/blob/master/ezxmltext/handlers/input/ezoexmlinput.php#L1344!Snap_2012.03.09 12.05.04_001.png|thumbnail!
          Hide
          Germano Giuliani added a comment -

          Also if a page with an embedded (embed-inline) file in a custom tag is edited, the online editor removes the embeded file from the custom tag.

          E.g:

          <custom name="content_indent" custom:title="Tutorials2"><embed view="embed-inline" size="medium" custom:offset="0" custom:limit="5" href="ezobject://514" /></custom>

          The mentioned fix helped me out on this. Thanks Sebastian.

          Show
          Germano Giuliani added a comment - Also if a page with an embedded (embed-inline) file in a custom tag is edited, the online editor removes the embeded file from the custom tag. E.g: < custom name = "content_indent" custom:title = "Tutorials2" >< embed view = "embed-inline" size = "medium" custom:offset = "0" custom:limit = "5" href = "ezobject://514" /></ custom > The mentioned fix helped me out on this. Thanks Sebastian.
          Hide
          Bertrand Dunogier added a comment -

          This should have been fixed already, by checking of the custom tag contains sub-items: https://jira.ez.no/browse/EZP-19111.

          Show
          Bertrand Dunogier added a comment - This should have been fixed already, by checking of the custom tag contains sub-items: https://jira.ez.no/browse/EZP-19111 .
          Hide
          Damien Pobel (Inactive) added a comment -

          Fixed in EZP-19111

          Show
          Damien Pobel (Inactive) added a comment - Fixed in EZP-19111
          Hide
          Marcos Loureiro (Inactive) added a comment -

          QA Approved
          (tc-1507)

          Show
          Marcos Loureiro (Inactive) added a comment - QA Approved (tc-1507)

            People

            • Assignee:
              Unassigned
              Reporter:
              Sebastian Blank
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 4 hours, 14 minutes
                1d 4h 14m