Always save the script, regardless of whether or not the object script
is empty, this way and default to the original script, unless the object
script has been changed. This way, the original interpreter should be
saved, unless the object script is changed
Details
Details
- Reviewers
staniek - Maniphest Tasks
- T668: Improve detection of scripting in reports
- Commits
- R14:0ab6d76ef26f: Possible fix for T668
R14:d74b78557e1e: Possible fix for T668
- open a report with a python interpreter
- edit the report with an innocuous change (alter section height)
- save report, confirm on debug output that the interpreter is still python
- edit the report and change the script source
- save, confirm the interpreter is now javascript
Diff Detail
Diff Detail
- Repository
- R14 KReport
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.