Details
-
Bug
-
Resolution: Done
-
Blocker
-
6.2.0
Description
Description of problem:
When migrating DRL assets declaring facts, Jcr2vfs migration tool imports assets into VFS repository in such a way, that the package name and class name of the asset are swapped. For instance, the class mortgages.Applicant is migrated as follows (part of VFS repo dump):
<assetWithHistory>
...
<relativePath>mortgages/src/main/resources/mortgages/mortgages.java</relativePath>
<source>package Applicant;
/**
- This class was automatically generated by the data modeler tool.
*/
public class mortgages implements java.io.Serializable {
...
I have (hopefully) tracked the breaking change to the commit [1] - look for lines such as the highlighted one - a new instance of DataObjectImpl is created, but the arguments are swapped, please see [2]. There are several occurences of this change.
Version-Release number of selected component (if applicable):
BRMS 6.2.0 ER4
How reproducible:
always
Steps to Reproduce:
1. Migrate a repository containing a DRL asset declaring a fact
Actual results:
Asset is imported with package name and class name swapped.
Expected results:
Asset is imported with correct package name and class name.