This repository has been archived by the owner on Nov 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DROOLS-1432: improving error message handling
- Loading branch information
Showing
1 changed file
with
5 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e588c54
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought you externalised error messages (for i18n when we write the UI)?
e588c54
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@manstis not yet. On the FEEL layer and on the Validator they are consolidated in a single class, but on the DMN layer, we still have to do that. Then we need to actually create the i18n resources.
Here are the classes for the FEEL layer and the Validator:
https://github.com/droolsjbpm/kie-dmn/blob/master/kie-dmn-feel/src/main/java/org/kie/dmn/feel/util/Msg.java
https://github.com/droolsjbpm/kie-dmn/blob/master/kie-dmn-validation/src/main/java/org/kie/dmn/validation/Msg.java
We will do the same for the DMN layer on a following ticket. This ticket's main purpose was to fix the "communication" between the FEEL layer and the DMN layer.