Uploaded image for project: 'Magnolia Groovy Module'
  1. Magnolia Groovy Module
  2. MGNLGROOVY-35

Running a new, not yet saved script within the dialog does not work anymore

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.1.2
    • 1.1.1
    • tree/dialog
    • None

      After switching to codemirror, the way to get the code from the textarea it replaces has changed and what used to work with codepress no longer works with codemirror. Tried to quickly look at this but there seems to be no easy fix, also because the codemirror's editor variable created under the hood by the dialogEditCode control for some reason is undefined to the code which runs the groovy script from the dialog. No problem occurs after the script has been saved and reloaded in the dialog. Then running it works.

        Acceptance criteria

              fgrilli Federico Grilli
              fgrilli Federico Grilli
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD