Task #814
closedDisplay specific error in script in GUI
100%
Description
When you try to save uncomplicable script. In application server log you have full stacktrace with error and affected line.
But in GUI is just shor info, that script cannot be comliled. It should show specific problem, which is now in server log.
Updated by Ondřej Kopr about 7 years ago
I added new error GROOVY_SCRIPT_SYNTAX_VALIDATION and new catch for validate script. This statement catch MultipleCompilationErrorsException and parse from this error message with line and token.
Commit: https://github.com/bcvsolutions/CzechIdMng/commit/e11d7c72501752531d1de41f4fe959b2f7777bbe
Please Petr could you make a review and tests? After you complete this review give this ticket also for feedback to Radek, he check code and style. Thank you.
Updated by Ondřej Kopr about 7 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Ondřej Kopr to Petr Michal
- % Done changed from 0 to 90
Updated by Ondřej Kopr about 7 years ago
- Assignee changed from Petr Michal to Radek Tomiška
Radek pleas could you? :)
Updated by Radek Tomiška about 7 years ago
- Status changed from Needs feedback to Closed
- Assignee changed from Radek Tomiška to Ondřej Kopr
- Target version set to Forsterite (7.6.0)
- % Done changed from 90 to 100
I did review and test, it's nice, thx!