Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-583

Drools WB jcr2vfs: make the migration tool work again

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Done
    • 6.2.0.Beta1
    • 6.2.0.Final
    • None
    • None

    Description

      The current 6.2.0 SNAPSHOTS of the jcr2vfs tool are broken. There seems to some issue with incompatibility with between Drools 5.x and 6.x.

      Asset [Bankruptcy history] with format [brl] is being migrated... 
      java.lang.ClassCastException: org.drools.core.base.accumulators.BigDecimalSumAccumulateFunction cannot be cast to org.drools.runtime.rule.AccumulateFunction
      	at org.drools.compiler.PackageBuilderConfiguration.loadAccumulateFunction(PackageBuilderConfiguration.java:530)
      	at org.drools.compiler.PackageBuilderConfiguration.buildAccumulateFunctionsMap(PackageBuilderConfiguration.java:479)
      	at org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:194)
      	at org.drools.compiler.PackageBuilderConfiguration.<init>(PackageBuilderConfiguration.java:165)
      

      Another very serious issue is that even when the jcr2vfs tests fail, the Jenkins drools-wb CI build succeeds. This needs to be fixed, so that when the tests fail, the build fails too.

      I will try to fix the tool in time for 6.2.0.Final.

      Attachments

        Activity

          People

            jrenaat Jan Schatteman (Inactive)
            psiroky_jira Petr Široký (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: