[ http://issues.apache.org/jira/browse/VELOCITY-381?page=all ]
Will Glass-Husain resolved VELOCITY-381:
----------------------------------------
Fix Version: 1.5
Resolution: Fixed
Assign To: (was: Velocity-Dev List)
added test case to "Diabolical.vm". Broke before the patch. Works after the
patch. Thanks!
> Silent Failure of a toString that return null
> ---------------------------------------------
>
> Key: VELOCITY-381
> URL: http://issues.apache.org/jira/browse/VELOCITY-381
> Project: Velocity
> Type: Bug
> Components: Source
> Versions: 1.5
> Environment: Operating System: other
> Platform: Other
> Reporter: Llewellyn Falco
> Fix For: 1.5
> Attachments: ContextAware.java, StringResourceLoader.java,
> VelocityParser.java, VelocitySilentTest.java, patch2.txt
>
> $!method.toString() -
> $!method.getInstance().toString() -
> $!method -
> $!method.getInstance()
> if the toString method returns null,
> this will return ' - - null - null'
> see attached testcase
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]