[MGNLGROOVY-35] Running a new, not yet saved script within the dialog does not work anymore Created: 14/Jan/11 Updated: 02/Aug/11 Resolved: 29/Jul/11 |
|
| Status: | Closed |
| Project: | Magnolia Groovy Module |
| Component/s: | tree/dialog |
| Affects Version/s: | 1.1.1 |
| Fix Version/s: | 1.1.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Federico Grilli | Assignee: | Federico Grilli |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||||||
| Description |
|
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. |