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

eZXMLText::outputHandler never returns eZPDFXMLOutput

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 4.3.0beta1, Customer request
    • 4.1.3
    • None
    • Operating System: All
      PHP Version: (please be specific, like '4.4.3' or '5.1.5') All
      Database and version: All
      Browser (and version): All

    Description

      This method is used by the standard ezxml datatype's template for PDF view, but can't return proper output handler for PDF (see /kernel/classes/datatypes/ezxmltext/ezxmltext.php:153).
      It seems that it comes from the code refactoring 4.0 -> 4.1 as the second parameter ($type) of this method is now unused in its code.

      This cause PDF view to have ezxml attributes with eZHTMLXMLOutput handler, wich make them appear with html tags.

      Steps to reproduce
      • Create an object with an "XML Block" attribute.
      • Fill this attribute with some html formated text
      • Publish it
      • View it with pdf view (content/pdf/<node id>)

      Attachments

        Activity

          People

            andre1 andre1
            mclone mclone
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: