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

eZXMLText Migration: link tags containing embed-inline + other elements fails

    XMLWordPrintable

Details

    Description

      We found that in some cases there might be nested `embed-inline` elements inside `link` in eZ XML Text:

      <link node_id="333">some text
        <embed-inline view="embed-inline" size="original" object_id="444"/>
      </link>
      

      And it will be converted to invalid RichText:

      <link xlink:href="ezlocation://333" xlink:show="none">some text
        <ezembedinline xlink:href="ezcontent://444" view="embed-inline">
          <ezlink xlink:href="ezlocation://333" xlink:show="none"/>
          <ezconfig>
            <ezvalue key="size">original</ezvalue>
          </ezconfig>
        </ezembedinline>
      </link>
      

      Such kind embeds need to be ignored.

      Attachments

        Activity

          People

            Unassigned Unassigned
            l0rdj l0rdj
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: