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

eZXMLText::outputHandler never returns eZPDFXMLOutput

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 4.1.3
    • Fix Version/s: 4.3.0beta1, Customer request
    • Labels:
      None
    • Environment:

      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

            Assignee:
            andre1 André R
            Reporter:
            McLone Marc Sallaberremborde
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: