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

Enabling editor causes error on links with "&"

    Details

      Description

      Steps to reproduce:

      • Edit a content object in the admin interface, such as an article;
      • Click the "Disable editor" button;
      • Type <link href="http://google.com/?this=that&something=nothing">link</link> in the textarea
      • Click the "Enable editor" button;
      • The following error is generated:
      The draft could not be stored.

      Required data is either missing or is invalid:
      Body: Wrong opening tag

        Issue Links

          Activity

          Nuno Oliveira (Inactive) created issue -
          Nuno Oliveira (Inactive) made changes -
          Field Original Value New Value
          Link This issue relates to CS-5961 [ CS-5961 ]
          Nuno Oliveira (Inactive) made changes -
          Status Open [ 1 ] Confirmed [ 10037 ]
          Nuno Oliveira (Inactive) made changes -
          Fix Version/s Customer request [ 11018 ]
          Nuno Oliveira (Inactive) made changes -
          Status Confirmed [ 10037 ] InputQ [ 10001 ]
          Yannick Roger (Inactive) made changes -
          Assignee Damien Pobel [ damien.pobel@ez.no ]
          Damien Pobel (Inactive) made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Damien Pobel (Inactive) made changes -
          Summary eZOE: disabling/enabling editor causes error on links with "?" or "&" Enabling editor causes error on links with "&"
          Damien Pobel (Inactive) made changes -
          Description h4. Steps to reproduce:

          * Edit a content object in the admin interface, such as an article;
          * Type some text e.g. "This is a test link." on a XML block field, such as "Body";
          * Highlight the text and click "Insert/edit link" button;
          * Type a link with a get parameter like http://google.com/?this=that&something=nothing
          * Save the link (popup close);
          * Click the "Disable editor" button;
          * View the raw HTML;
          * Click the "Enable editor" button;
          * The following error is generated:

          h5. The draft could not be stored.
          Required data is either missing or is invalid:
          Body: Wrong opening tag
          h4. Steps to reproduce:

          * Edit a content object in the admin interface, such as an article;
          * Click the "Disable editor" button;
          * Type {{<link href="http://google.com/?this=that&something=nothing">link</link>}} in the textarea
          * Click the "Enable editor" button;
          * The following error is generated:

          h5. The draft could not be stored.
          Required data is either missing or is invalid:
          Body: Wrong opening tag
          Damien Pobel (Inactive) made changes -
          Link This issue relates to EZP-26096 [ EZP-26096 ]
          Damien Pobel (Inactive) made changes -
          Remote Link This issue links to "PR (Web Link)" [ 17400 ]
          Damien Pobel (Inactive) made changes -
          Status Development [ 3 ] Development Review [ 10006 ]
          Damien Pobel (Inactive) made changes -
          Status Development Review [ 10006 ] Documentation Review done [ 10011 ]
          Assignee Damien Pobel [ damien.pobel@ez.no ]
          Rui Silva (Inactive) made changes -
          Status Documentation Review done [ 10011 ] QA [ 10008 ]
          Rui Silva (Inactive) made changes -
          Flagged Impediment [ 10000 ]
          Rui Silva (Inactive) made changes -
          Status QA [ 10008 ] InputQ [ 10001 ]
          Assignee Rui Silva [ rui.silva@ez.no ]
          Damien Pobel (Inactive) made changes -
          Flagged Impediment [ 10000 ]
          Damien Pobel (Inactive) made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Assignee Damien Pobel [ damien.pobel@ez.no ]
          Damien Pobel (Inactive) made changes -
          Status Development [ 3 ] Development Review [ 10006 ]
          Damien Pobel (Inactive) made changes -
          Status Development Review [ 10006 ] Documentation Review done [ 10011 ]
          Assignee Damien Pobel [ damien.pobel@ez.no ]
          Rui Silva (Inactive) made changes -
          Status Documentation Review done [ 10011 ] QA [ 10008 ]
          Rui Silva (Inactive) made changes -
          Assignee Rui Silva [ rui.silva@ez.no ]
          Status QA [ 10008 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          André Rømcke made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          André Rømcke made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Fix Version/s 5.4.10 [ 14640 ]
          Resolution Fixed [ 1 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 102261 ] EZEE Development Workflow [ 126239 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Nuno Oliveira (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: