Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kie-issues#270: DMN Runner execution identifies wrongly missing requi…
…rements Closes: apache/incubator-kie-issues#270 The problem was not in the DMN Runne rui component but in the engine that executes the validation. The mechanism for storing messages contained a bug. ``` @OverRide public DMNMessage addMessage(DMNMessage newMessage) { for( DMNMessage existingMessage : messages ) { if( isDuplicate( existingMessage, newMessage ) ) { return existingMessage; } } this.messages.add( newMessage ); return newMessage; } ``` `isDuplicate` didn't take into account all needed attributes of the `message`
- Loading branch information