Uploaded image for project: 'Commons OGNL (Dormant)'
  1. Commons OGNL (Dormant)
  2. OGNL-35

CLONE -expression concatenated via "and" / "&&" is not evaluated correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.7
    • 2.7
    • ExpressionCompiler
    • None
    • tapestry

    Description

      having a condition like:

      condition="ognl:condition1 && condition2"

      condition2 gets evaluatated, even if condition1 returns false

      in version 2.6.9 it worked correctly

      the manual says explicitly:

      e1 && e2, e1 and e2

      getValue is called on e1 and the result is interpreted as a boolean. If false, that result is returned; if true, getValue is called on e2 and its value is returned.

      Attachments

        Activity

          People

            jkuhnert Jesse Kuhnert
            mvalverde Marco Valverde
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: