Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1589

Actualize version/hash used in CKEditor PHP connector

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Needs Changes
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 5.2.2
    • Component/s: CMS
    • Labels:
      None
    • Change Log Group:
      Fixed
    • Change Log Message:
      Wrong CKEditor version was loaded from Web Browser cache after CKEditor upgrade.
    • Story Points:
      1
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      Plan:

      1. update the "version" and "timestamp" constants and "timestamp" property of "CKEditor" class to have values coming from "ckeditor.js" (statically)
      2. add "WysiwygEditorTimestamp" system setting:
        • after: "EnablePageContentRevisionControl"
        • section: Configuration > Website > Advanced
        • sub-section: Admin Console Settings
        • control: textbox
        • default: empty
        • title (main translation of "la_config_WysiwygEditorTimestamp" phrase): "WYSIWYG Editor Timestamp"
        • hint (hint translation of "la_config_WysiwygEditorTimestamp" phrase): "Change value to invalidate WYSIWYG editor assets, e.g. CSS, JS, Plugins."
      3. in "fckFCKHelper::getEditor" method if "WysiwygEditorTimestamp" system setting isn't empty set "$editor->timestamp" property into it's value
      4. update test plan to demonstrate, that user timestamp is used, when specified and default timestamp is used, when user timestamp is empty

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                glebs Gleb Sinkovskiy [Intechnic]
                Reporter:
                alex Alex
                Developer:
                Alex
                Reviewer:
                Gleb Sinkovskiy [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 6h 19m
                  6h 19m