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

ezRecommendation exports fail when xml blocks include some special characters

    XMLWordPrintable

Details

    Description

      exporting objects that include special chars in the xml block fails the export.

      example chars found: Ç, É, Ê , À
      there are many more, depending on the language used (german, frensh, russian, etc), a few chars will cause the error.

      steps to reproduce:
      1 - active ezRecommentation
      2 - publish any object that has an attribute of type ezRecommendation (to trigger the export)
      2 - include one of the special chars above
      3 - republish the object
      4 - a fatal error will be displayed.

      the origin of the problem is in the htmlentities() that changes the encoding from ISO- to UTF-8, according to the doc here:
      http://php.net/manual/en/function.htmlentities.php

      Attachments

        Activity

          People

            Unassigned Unassigned
            paulo.bras-obsolete@ez.no Paulo Bras (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 7 hours
                7h