Details
-
Bug
-
Resolution: Done
-
Minor
-
None
-
7.38.0.Final
-
None
-
2020 Week 22-24 (from May 25)
-
-
NEW
-
NEW
Description
Executable model compilation fails on declared types with both @SerialVersionUID and @key annotations.
Example of DRL that fails to compile:
declare ServiceInformation @serialVersionUID( 0 ) code: String @key end rule "create new ServiceInformation" when then insert( new ServiceInformation("123456") ); end
Error:
Error Messages: Message [id=1, kieBase=binding-field-indexed-with-square-brackets, level=ERROR, path=null, line=56, column=0 text=Duplicate method ServiceInformation(String) in type ServiceInformation] Message [id=2, kieBase=binding-field-indexed-with-square-brackets, level=ERROR, path=null, line=61, column=0 text=Duplicate method ServiceInformation(String) in type ServiceInformation]
The example works fine when compiling without executable model.