Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-192

#if directory and long values

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 1.4
    • 1.5
    • Build
    • None
    • Operating System: other
      Platform: All
    • 21691

    Description

      When using ($if x == 1), and x is of type long, then Velocity tries to compare x
      as type Long and 1 as type Integer, resulting in the following message in the
      errorlog:

      Error in evaluation of == expression. Both arguments must be of the same Class.
      Currently left = class java.lang.Long, right = class java.lang.Integer.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ljwboschker@hotmail.com Luuk Boschker
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: