Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-877

[GSS] (6.1.z) migration tool doesn't convert java.text.SimpleDateFormat correctly

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • 6.1.0
    • Migration Tool
    • 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.

      [1] https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_BPM_Suite/6.1/html/Migration_Guide/sect-How-To_Migrate.html

            jschatte@redhat.com Jan Schatteman
            rhn-support-ahoffer Andrea Hoffer
            Archiver:
            rhn-support-ceverson Clark Everson
            Tibor Zimányi Tibor Zimányi
            Tibor Zimányi Tibor Zimányi
            Andrea Hoffer, etirelli, Gary Hu, Jan Schatteman, Kris Verlaenen, Lukáš Petrovický (Inactive), Marek Baluch, Tibor Zimányi

              Created:
              Updated:
              Resolved:
              Archived: