Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-10547

Make ckeditor.js resource reference context-relative (with patch, +fixed test)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.0
    • Component/s: None
    • Labels:
    • Similar issues:
    • Story Points:
      4
    • Processed by team:
      Tiger
    • Sprint:
      Tiger Sprint 148

      Description

      I'm reusing the CKEditorPropertyPlugin in a place with a different URL, and the resource reference to ckeditor.js is currently not context-relative, so it only works on ${context-root}/. All other cms plugins I have tested so far do not expose this problem.

      I fixed that in the attached patch (applies against 4.0.3).

      I also updated the associated unit test accordingly and fixed a pre-existing bug in it, that made it pass unconditionally.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              escitalopram Wolfgang Illmeyer
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: