You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Henning Schmiedehausen (JIRA)" <de...@velocity.apache.org> on 2007/03/08 01:16:25 UTC

[jira] Closed: (VELOCITY-192) #if directory and long values

     [ https://issues.apache.org/jira/browse/VELOCITY-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henning Schmiedehausen closed VELOCITY-192.
-------------------------------------------


> #if directory and long values
> -----------------------------
>
>                 Key: VELOCITY-192
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-192
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 1.4
>         Environment: Operating System: other
> Platform: All
>            Reporter: Luuk Boschker
>         Assigned To: Velocity-Dev List
>            Priority: Minor
>             Fix For: 1.5
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org