Uploaded image for project: 'CKEditor Integration'
  1. CKEditor Integration
  2. CKEDITOR-187

Error in console when adding a Gallery Macro

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.17
    • Fix Version/s: 1.18
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows 10 Pro 64 bit, Chrome v.61, Firefox v.55, IE v.11, using a local instance configured with Oracle 11.2
    • Similar issues:

      Description

      STEPS TO REPRODUCE

      1. Edit a page in CKEditor mode
      2. Click on XWiki Macro Button
      3. Choose Gallery Macro
      4. Click Select

      EXPECTED RESULTS

      The Edit Macro lightbox appears where the Gallery Macro can be configured.

      ACTUAL RESULTS

      The Gallery Macro lightbox appears and an error is displayed in the console. Here is the stacktrace:

       2017-09-08 17:17:15,365 [http://localhost:9702/xwiki/bin/get/CKEditor/MacroService?outputSyntax=plain&data=descriptor&macroId=gallery%2Fxwiki%2F2.1] ERROR o.x.v.i.DefaultVelocityEngine  - reference set is not a valid reference at 255:xwiki:CKEditor.MacroService[line 105, column 7]
      2017-09-08 17:17:15,365 [http://localhost:9702/xwiki/bin/get/CKEditor/MacroService?outputSyntax=plain&data=descriptor&macroId=gallery%2Fxwiki%2F2.1] ERROR o.x.v.i.DefaultVelocityEngine  - reference set is not a valid reference at 255:xwiki:CKEditor.MacroService[line 106, column 7] 

      NOTE: Nevertheless, there's no problem with the UI, images can be selected and displayed by the macro.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mflorea Marius Dumitru Florea
              Reporter:
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: