Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-3509

jBPM no longer allows Seam to query Booleans in selecting transitions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jBPM 3.2.12
    • jBPM 3.2.10
    • None
    • None
    • Hide

      How reproducible:
      Edit the seam 'numberguess' example in EAP 5.1.2 so pageflow.jpdl.xml uses
      this:
      <decision name="evaluateGuess" expression="#

      {numberGuess.isCorrectGuess()}

      ">
      instead of:
      <decision name="evaluateGuess" expression="#

      {numberGuess.correctGuess}

      ">

      Steps to Reproduce:
      1. Change pageflow.jpdl.xml as above
      2. build seam/numberguess and deploy to EAP 5.1.2
      3. Run the example. It should fail with a CCE at line 99 for Decision.java in
      jBPM 3.2.10.

      Show
      How reproducible: Edit the seam 'numberguess' example in EAP 5.1.2 so pageflow.jpdl.xml uses this: <decision name="evaluateGuess" expression="# {numberGuess.isCorrectGuess()} "> instead of: <decision name="evaluateGuess" expression="# {numberGuess.correctGuess} "> Steps to Reproduce: 1. Change pageflow.jpdl.xml as above 2. build seam/numberguess and deploy to EAP 5.1.2 3. Run the example. It should fail with a CCE at line 99 for Decision.java in jBPM 3.2.10.

      Seam throws a ClassCastException when jBPM is accessing a Boolean property. This used to work, but changes in between jBPM3.2.5 and 3.2.10 broke it.

      See BZ783296 for more information.

            marco.rietveld Marco Rietveld (Inactive)
            rhn-support-rick Rick Wagner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: