Velocity
  1. Velocity
  2. VELOCITY-645

Value comparisons in strict mode should be strict

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7
    • Component/s: Engine
    • Labels:
      None

      Description

      In strict mode throw an exception when values cannot be correctly compared instead for ignoring this case.

      For example:
      #set($a = $NULL)
      #set($b = $NULL)
      #if ($a > $b)
      foobar
      #end

      1. 645.patch
        11 kB
        Byron Foster

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Byron Foster
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development