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

Impossible to publish a content with a Richtext field with Firefox

    Details

      Description

      Trying to publish any object that has a richtext fieldtype raises an error.

      Steps to reproduce:

      1 - Create one folder object. Fill in the folder's name. (fill in the "Short description" and "description" or leave them empty. The result is the same)
      2- Publish the folder

      When publishing, a notification error is raised: An error occured while publishing the draft
      In browser console, the following information is displayed:

      The response:

      {"ErrorMessage":{"_media-type":"application\/vnd.ez.api.ErrorMessage+json","errorCode":404,"errorMessage":"Not Found","errorDescription":"Could not find 'Validator' with identifier 'NULL'"}}
      

      The request header:

      POST /api/ezp/v2/content/objects HTTP/1.1
      Host: ezp5.paulo
      User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0
      Accept: application/vnd.ez.api.Content+json
      Accept-Language: en-US,en;q=0.5
      Accept-Encoding: gzip, deflate
      Content-Type: application/vnd.ez.api.ContentCreate+json; charset=UTF-8
      X-CSRF-Token: Tm3KunUZ-ggqEaPKJXmTaLwLneGml3Ni42BKS0loJb0
      Referer: http://ezp5.paulo/ez
      Content-Length: 801
      Cookie: eZSESSID98defd6ee70dfb1dea416cecdf391f58=sqlmsf43qqen59umft3hm42vq2
      Connection: keep-alive
      Pragma: no-cache
      Cache-Control: no-cache
      

      The Response header:

      HTTP/1.1 404 Not Found
      Date: Fri, 27 Nov 2015 15:31:35 GMT
      Server: Apache/2.2.22 (Debian)
      X-Powered-By: PHP/5.4.4-14+deb7u14
      Cache-Control: private
      Vary: Cookie,Authorization
      Content-Length: 190
      Keep-Alive: timeout=5, max=100
      Connection: Keep-Alive
      Content-Type: application/vnd.ez.api.ErrorMessage+json
      

        Issue Links

          Activity

          Paulo Nunes (Inactive) created issue -
          Paulo Nunes (Inactive) made changes -
          Field Original Value New Value
          Status Open [ 1 ] Confirmed [ 10037 ]
          Damien Pobel (Inactive) made changes -
          Environment Operating System: CentOS 7.0 x64
          PHP Version: 5.4
          Database and version: Mariadb 5.5
          Browser (and version): Firefox 42

          And
          Operating System: Debian 7
          PHP Version: PHP 5.4
          Database and version: Mysql 5.5.35
          Browser (and version): Firefox 42
          Firefox
          Paulo Nunes (Inactive) made changes -
          Link This issue blocks EZP-25108 [ EZP-25108 ]
          Damien Pobel (Inactive) made changes -
          Summary It's not possible to publish an object that has a Richtext field Impossible to publish an object with Richtext field
          Hide
          Damien Pobel (Inactive) added a comment -

          Paulo Nunes I reproduce that only in Firefox, do you confirm ?

          Show
          Damien Pobel (Inactive) added a comment - Paulo Nunes I reproduce that only in Firefox, do you confirm ?
          Damien Pobel (Inactive) made changes -
          Status Confirmed [ 10037 ] InputQ [ 10001 ]
          Damien Pobel (Inactive) made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Assignee Damien Pobel [ damien.pobel@ez.no ]
          Damien Pobel (Inactive) made changes -
          Summary Impossible to publish an object with Richtext field Impossible to publish an object with a Richtext field
          Hide
          Damien Pobel (Inactive) added a comment - - edited

          It seems to be a regression introduced in EZP-25031 and affecting only Firefox.

          Show
          Damien Pobel (Inactive) added a comment - - edited It seems to be a regression introduced in EZP-25031 and affecting only Firefox.
          Damien Pobel (Inactive) made changes -
          Link This issue relates to EZP-25031 [ EZP-25031 ]
          Damien Pobel (Inactive) made changes -
          Summary Impossible to publish an object with a Richtext field Impossible to publish an object with a Richtext field with Firefox
          Hide
          Paulo Nunes (Inactive) added a comment -

          Indeed In Chrome i don't have the error.

          In IE11, I have also an error, but instead of a 404, I have a 406:

          {"ErrorMessage":{"_media-type":"application\/vnd.ez.api.ErrorMessage+json","errorCode":406,"errorMessage":"Not Acceptable","errorDescription":"Argument '$inputValue' is invalid: Could not create XML document: Attribute xmlns redefined"}}
          

          Show
          Paulo Nunes (Inactive) added a comment - Indeed In Chrome i don't have the error. In IE11, I have also an error, but instead of a 404, I have a 406: {"ErrorMessage":{"_media-type":"application\/vnd.ez.api.ErrorMessage+json","errorCode":406,"errorMessage":"Not Acceptable","errorDescription":"Argument '$inputValue' is invalid: Could not create XML document: Attribute xmlns redefined"}}
          Hide
          Paulo Nunes (Inactive) added a comment -

          It seems to be a regression introduced in EZP-25031 and affecting only Firefox.

          Just to note that the current issue didn't happen in yesterday's master and started happening today.

          Show
          Paulo Nunes (Inactive) added a comment - It seems to be a regression introduced in EZP-25031 and affecting only Firefox. Just to note that the current issue didn't happen in yesterday's master and started happening today.
          Bertrand Dunogier made changes -
          Affects Version/s 2015.11.1 [ 14492 ]
          Affects Version/s 2015.11 [ 14487 ]
          Hide
          Bertrand Dunogier added a comment -

          Both the Studio team and myself got the same behaviour. Publishing fail for content with a RichText field on Firefox. Works on chrome.

          Tagging as a known blocker in beta10 / 2015.11.1. Will be fixed for 2015.11.2.

          Show
          Bertrand Dunogier added a comment - Both the Studio team and myself got the same behaviour. Publishing fail for content with a RichText field on Firefox. Works on chrome. Tagging as a known blocker in beta10 / 2015.11.1. Will be fixed for 2015.11.2.
          Bertrand Dunogier made changes -
          Priority High [ 3 ] Blocker [ 1 ]
          Hide
          Michal Pipa (Inactive) added a comment -

          I have the same issue on Firefox (39.0). On Chrome everything is Ok.

          Show
          Michal Pipa (Inactive) added a comment - I have the same issue on Firefox (39.0). On Chrome everything is Ok.
          Damien Pobel (Inactive) made changes -
          Summary Impossible to publish an object with a Richtext field with Firefox Impossible to publish a content with a Richtext field with Firefox
          Damien Pobel (Inactive) made changes -
          Link This issue relates to EZP-24732 [ EZP-24732 ]
          Hide
          Damien Pobel (Inactive) added a comment -

          That's perfectly right Paulo Nunes, I was confused by the Firefox dev tools...
          Anyway PR: https://github.com/ezsystems/PlatformUIBundle/pull/446

          Show
          Damien Pobel (Inactive) added a comment - That's perfectly right Paulo Nunes , I was confused by the Firefox dev tools... Anyway PR: https://github.com/ezsystems/PlatformUIBundle/pull/446
          Damien Pobel (Inactive) made changes -
          Status Development [ 3 ] Development Review [ 10006 ]
          Show
          Damien Pobel (Inactive) added a comment - Merged in https://github.com/ezsystems/PlatformUIBundle/commit/b3459045b7b5064de0221a034f7b007da540b982
          Damien Pobel (Inactive) made changes -
          Status Development Review [ 10006 ] Documentation Review done [ 10011 ]
          Fix Version/s 2015.11.2 [ 14499 ]
          Assignee Damien Pobel [ damien.pobel@ez.no ]
          Rui Silva (Inactive) made changes -
          Status Documentation Review done [ 10011 ] QA [ 10008 ]
          Hide
          Rui Silva (Inactive) added a comment -

          Tested and approved by QA for master.

          Show
          Rui Silva (Inactive) added a comment - Tested and approved by QA for master.
          Rui Silva (Inactive) made changes -
          Assignee Rui Silva [ rui.silva@ez.no ]
          Status QA [ 10008 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Damien Pobel (Inactive) made changes -
          Link This issue relates to EZP-25227 [ EZP-25227 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 96787 ] EZEE Development Workflow [ 125330 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          5s 1 Paulo Nunes 27/Nov/15 4:36 PM
          Confirmed Confirmed InputQ InputQ
          2m 48s 1 damien.pobel@ez.no 27/Nov/15 4:39 PM
          InputQ InputQ Development Development
          3s 1 damien.pobel@ez.no 27/Nov/15 4:39 PM
          Development Development Development Review Development Review
          4d 10m 1 damien.pobel@ez.no 01/Dec/15 4:49 PM
          Development Review Development Review Documentation Review done Documentation Review done
          23h 28m 1 damien.pobel@ez.no 02/Dec/15 4:18 PM
          Documentation Review done Documentation Review done QA QA
          1h 9m 1 rui.silva@ez.no 02/Dec/15 5:27 PM
          QA QA Closed Closed
          10m 32s 1 rui.silva@ez.no 02/Dec/15 5:37 PM

            People

            • Assignee:
              Unassigned
              Reporter:
              Paulo Nunes (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: