You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by bu...@apache.org on 2003/07/17 17:51:14 UTC
DO NOT REPLY [Bug 21691] New: -
#if directory and long values
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21691>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21691
#if directory and long values
Summary: #if directory and long values
Product: Velocity
Version: 1.0-Release
Platform: All
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Build
AssignedTo: velocity-dev@jakarta.apache.org
ReportedBy: ljwboschker@hotmail.com
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.
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org