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

XML to RichText converter error for embed

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • None
    • 2.5.9, 3.0.0-beta5
    • Upgrading

    Description

      Currently, the converter works incorrectly for this XML:

      <?xml version="1.0" encoding="utf-8"?>
      <section xmlns:image="http://ez.no/namespaces/ezpublish3/image/" xmlns:xhtml="http://ez.no/namespaces/ezpublish3/xhtml/" xmlns:custom="http://ez.no/namespaces/ezpublish3/custom/">
        <paragraph xmlns:tmp="http://ez.no/namespaces/ezpublish3/temporary/">
          <link anchor_name="maincontent">
            <embed size="original" align="top" node_id="241190"/>
          </link>
        </paragraph>
      </section>
      

      It will result to empty <link/> object inserted into embed

      <ezembed xlink:href="ezlocation://241190" ezxhtml:class="ez-embed-type-image">
                          <ezlink/>
                          <ezconfig>
                            <ezvalue key="size">original</ezvalue>
                          </ezconfig>
      </ezembed>
      

      PR: https://github.com/ezsystems/ezplatform-xmltext-fieldtype/pull/115

      Attachments

        Activity

          People

            Unassigned Unassigned
            9617ee47-cb27-4291-b8b8-676aa93a5338@accounts.ibexa.co Ivan Ternovtsiy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: