-
Bug
-
Resolution: Duplicate
-
Critical
-
6.0.2
-
None
-
All All
Description of problem:
Data object load fail if there is error in a business process.
How reproducible:
Steps to Reproduce:
1. create a process and leave some errors there (in my case, use an exclusive gateway which has more than one income arrows)
2. save the process
3. switch to data modeler window, create a new data object
4. close the data modeler window and open it again, the data object is lost.
Actual results:
The new data object is lost.
Actually it is not "lost". if you fix the process error and open data modeler again, the data objects are there. Though, it is quite misleading. I once re-create the data objects.
Expected results:
The new data object is there
Additional info:
The log says:
15:37:37,107 ERROR [org.drools.compiler.kie.builder.impl.AbstractKieModule] (pool-21-thread-6) Unable to build KieBaseModel:defaultKieBase
ProcessLoadError: unable to parse xml : Exception class java.lang.IllegalArgumentException : Could not find operation
15:37:43,543 ERROR [org.kie.workbench.common.services.datamodeller.driver.impl.DataModelOracleDriver] (http-localhost/127.0.0.1:8080-2) It was not possible to read class metadata for class: com.redhat.fls.beaker.sysloan.Loan
The first line said an error in process, the second line said read data object class failed.
Those two parts should be independent. Even the process has error, user need to be allowed to design data object.