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

Wrapper class unwrapped value is not indexed in exec-model

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.70.0.Final
    • 7.67.0.Final
    • executable model
    • None
    • 2022 Week 11-13 (from Mar 14), 2022 Week 14-16 (from Apr 4), 2022 Week 17-19 (from Apr 25)
    • 3
    • NEW
    • NEW

      import java.lang.Integer;
      rule R1 when
        Integer( intValue == 10 )
      then
      end
      rule R2 when
        Integer( intValue == 20 )
      then
      end
      rule R3 when
        Integer( intValue == 30 )
      then
      end
      

      results in:

      D.alphaIndexedBy(int.class, org.drools.model.Index.ConstraintType.EQUAL, -1,  defaultpkg.PA9.LambdaExtractorA9C233B16E7298616375CE93028E61F7.INSTANCE, 20)),
      

      See indexId is -1.

              rhn-support-tkobayas Toshiya Kobayashi
              rhn-support-tkobayas Toshiya Kobayashi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: