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

Error generated in log when viewing an XmlText field containing an embed with an external link

    Details

      Description

      Steps to reproduce:

      1. Create an article, and in an XML block field (e.g. "body"), add an image and then add an external link to it. In this test, this was the generated code, as seen with the editor disabled:

      <link href="http://www.google.com/"><embed view="embed" size="medium" custom:offset="0" custom:limit="5" href="ezobject://97" /></link>
      

      2. Visualize the article in a frontend SA, configured in new stack mode;
      3. Inspect the symfony log. The following error is listed:

      [2017-02-07 16:18:13] app.ERROR: Could not resolve XmlText embed link resource type and ID [] []
      

        Issue Links

          Activity

          Hide
          Vidar Langseid added a comment -

          This might fix ezxmltext -> xhtml conversion, but it caused a regression in ezxmltext -> docbook conversion :
          https://jira.ez.no/browse/EZP-29258

          Show
          Vidar Langseid added a comment - This might fix ezxmltext -> xhtml conversion, but it caused a regression in ezxmltext -> docbook conversion : https://jira.ez.no/browse/EZP-29258
          Hide
          Damien Pobel (Inactive) added a comment - - edited
          Show
          Damien Pobel (Inactive) added a comment - - edited Fixed in ezplatform-xmltext-fieldtype in https://github.com/ezsystems/ezplatform-xmltext-fieldtype/commit/69caa0b8c314ae02460f98c140d205111e6f3012 for eZ Platform 1.x
          Hide
          Rui Silva (Inactive) added a comment -

          PR tested and approved by QA for 5.3 and 5.4.
          Sending back to dev-needed so that PR can be merged.
          Please send back to QA afterwards so that QA can inform Support Team.

          Show
          Rui Silva (Inactive) added a comment - PR tested and approved by QA for 5.3 and 5.4. Sending back to dev-needed so that PR can be merged. Please send back to QA afterwards so that QA can inform Support Team.
          Show
          Damien Pobel (Inactive) added a comment - PR: https://github.com/ezsystems/ezpublish-kernel-ee/pull/152

            People

            • Assignee:
              Unassigned
              Reporter:
              Nuno Oliveira (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: