-
Bug
-
Resolution: Done
-
Critical
-
None
-
6.1.0
-
None
+++ This bug was initially created as a clone of Bug #1217108 +++
When running the migration tool shipped by BPMS 6.1 against repository generated by BRMS 5.2, the following issue occurs:
*********************************************************************************
In 5.2, any rule that uses a java.util.Date produces the following line in the .rdrl file:
java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("dd-MMM-yyyy");
During migration, however, the line is transformed to an invalid form that will throw exceptions at runtime:
java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("null");
If I save the file via the 6.1 UI, the SimpleDateFormat line no longer exists in the rule. Since we have over a hundred projects, that is not necessarily a valid option.
*********************************************************************************
This bz is a split from bug 1216173 where all of the supporting attachments could be found.
— Additional comment from Lukáš Petrovický on 2015-04-29 10:55:06 EDT —
(In reply to Gary Hu from comment #0)
> When running the migration tool shipped by BPMS 6.1 against repository
> generated by BRMS 5.2, the following issue occurs:
The migration tool had been tested to migrate from BRMS 5.3.
— Additional comment from JBoss Product and Program Management on 2015-04-29 11:00:09 EDT —
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.
— Additional comment from Gary Hu on 2015-04-29 13:40:41 EDT —
(In reply to Lukáš Petrovický from comment #1)
> (In reply to Gary Hu from comment #0)
> > When running the migration tool shipped by BPMS 6.1 against repository
> > generated by BRMS 5.2, the following issue occurs:
>
> The migration tool had been tested to migrate from BRMS 5.3.
The bpms migration guide [1] doesn't say the migration tool only works for 5.3.
It says it works for migration from brms 5 to bpms 6.1.
Do you think this is going to be a problem? Are there any known issues for migrating from 5.2 to 6.x?
thanks.
- duplicates
-
RHBPMS-215 migration tool doesn't convert java.text.SimpleDateFormat correctly
-
- Verified
-
- is blocked by
-
RHBPMS-215 migration tool doesn't convert java.text.SimpleDateFormat correctly
-
- Verified
-