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

embedding images in ezoe generates PHP warning

    XMLWordPrintable

Details

    Description

      When you embed an image to an ezoe field you get this warnings in debug:
      Warning: PHP: E_WARNING
      Oct 30 2012 15:51:44
      json_encode(): Invalid UTF-8 sequence in argument in /var/www/apache2php53/ezp5/ezpublish_testsystem/.run/extension/ezjscore/classes/ezjscajaxcontent.php on line 158

      Steps.
      1. Create an Article
      2. On the body field click insert/edit image
      3. Upload an local image
      4. Before clicking "OK" verify the errors in the New <embed> tag window

      Attachments

        1. Desert.jpg
          Desert.jpg
          826 kB
        2. Koala.jpg
          Koala.jpg
          763 kB
        3. Lighthouse.jpg
          Lighthouse.jpg
          548 kB

        Activity

          People

            Unassigned Unassigned
            Joao.Pingo-obsolete@ez.no Joao Pingo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 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 - 2 days, 1 hour, 30 minutes
                2d 1h 30m