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

ezxmltext -> richtext conversion : ezxmltext containing ez-temporary attribute

Details

    Description

      I just found som ezxmltext in a ezpublish database which contains paragraphs with an attribute named ez-temporary :

      <?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/">
      <!--    <embed view="embed" size="blog_author" object_id="108146" ezlegacytmp-embed-link-node_id="143254"/>-->
          <section>
              <header>Some header</header>
              <section>
                  <paragraph
                          xmlns:tmp="http://ez.no/namespaces/ezpublish3/temporary/" ez-temporary="1">
      <strong>)</strong>
                  </paragraph>
              </section>
          </section>
      </section>
      

      I don't know how that attributed ended up there, but the ezxmltext->richtext conversion script uses a attribute named ez-temporary for internal housekeeping so such attributes must be removed before processing the ezxmltext

      Attachments

        Activity

          People

            Unassigned Unassigned
            vidar.langseid@ibexa.co Vidar Langseid
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: