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

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 4.2.0
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: