Uploaded image for project: 'Magnolia DAM Module'
  1. Magnolia DAM Module
  2. MGNLDAM-759

CKEditor not working due to missing MagnoliaFileBrowser plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.4.1
    • 2.4
    • None
    • None
    • Saigon 150
    • 3

      When using config-magnolia.js file for CKEditor it is not loaded properly due to magnoliaFileBrowser plugin not found. It seems that it is not included since magnolia 5.7.

      Steps to reproduce it in demoauthor:

      1. Configure a richtextfield within a form using configJsFile = /.resources/ckeditor/config-magnolia.js
      2. Open the corresponding dialog to verify that it is not loaded correctly.
      PM com.vaadin.server.VaadinServlet serveStaticResourcesInVAADIN
      INFORMATION: Requested resource [/VAADIN/widgetsets/info.magnolia.widgetset.MagnoliaProWidgetSet/ckeditor/plugins/magnoliaFileBrowser/plugin.js] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.
      

      Debugging it, you can see that there is no js/fileBrowser/plugin.js file

      Repeat the steps in Magnolia 5.6.X and check that it is loaded correctly.

        Acceptance criteria

          1. magnolia57.png
            81 kB
            Jonathan Ayala
          2. Screen Shot 2018-07-24 at 13.28.18.png
            482 kB
            Jonathan Ayala
          3. magnolia566.png
            73 kB
            Jonathan Ayala
          4. Screen Shot 2018-07-26 at 5.03.22 PM.png
            27 kB
            Dai Ha
          5. Screen Shot 2018-07-26 at 5.03.32 PM.png
            16 kB
            Dai Ha
          6. Screen Shot 2018-07-26 at 5.03.48 PM.png
            61 kB
            Dai Ha
          7. Screen Shot 2018-07-26 at 5.03.54 PM.png
            42 kB
            Dai Ha
          8. Screen Shot 2018-07-26 at 5.03.43 PM.png
            81 kB
            Dai Ha

              sang.ngo Sang Ngo Huu
              jayala Jonathan Ayala
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 1.75d
                  1.75d