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

        Activity

        Show
        Vidar Langseid added a comment - PR : https://github.com/ezsystems/ezplatform-xmltext-fieldtype/pull/61
        Show
        Vidar Langseid added a comment - Merged in https://github.com/ezsystems/ezplatform-xmltext-fieldtype/commit/1dff9d71e7617e96ae342c04bba31a98d8ff9204

          People

          • Assignee:
            Unassigned
            Reporter:
            Vidar Langseid
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: