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

eZStyleEditor element properties dialog doesn't load

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 4.7.0-dev
    • None
    • Operating System: RHEL 6.2, Debian 6
      PHP Version: 5.3.3
      Database and version: MySQL 5.1.61,
      Browser (and version): Firefox 12.0, Chromium 18.0.1025.168 (Developer Build 134367 Linux), Google Chrome 18.0.1025.168

    Description

      When trying to edit the properties for any element using eZStyleEditor, the properties popup dialog will be stuck in the "loading" stage forever. Looking at the network traffic through Firebug or the Chrome developer console. it's possible to verify that the response from the server is a mix between JSON and HTML character entities, leading to an invalid message that cannot be parsed. However, no Javascript errors are visible in the console.

      Example response for: (editing the properties for "Header 1" on Webin): http://ezp.filipe.cleverti.qa.ezpublish.no/ezjscore/call/ezcsse::getelementstyles?Params%5Belement%5D%5Bclass%5D=&Params%5Belement%5D%5Bid%5D=&Params%5Belement%5D%5Bname%5D=&Params%5Brule%5D%5Balias%5D=Header%201&Params%5Brule%5D%5Bselector%5D=h1%2C%20div.attribute-header%20h1%2C%20div.attribute-header%20h1.long&ezxform_token=a9ccadedfefbfde3dae39f70e9fa2d69

      Response body:

      { "properties" : [  ], "selector" : "h1, div.attribute-header h1, div.attribute-header h1.long", "alias" : "Header 1" }

      This happens for, as far as I could assert, all eZStyleEditor AJAX calls.

      Steps to reproduce

      1. Enable eZStyleEditor through the toolbar icon
      2. Select "Elements" on the top-left and any element from the list
      3. Verify that the contents of the dialog are never loaded, and instead you get an endless "Loading" message

      Attachments

        Activity

          People

            ls ls
            filiped filiped
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: