[
http://issues.apache.org/jira/browse/VELOCITY-460?page=comments#action_12437670
]
Will Glass-Husain commented on VELOCITY-460:
--------------------------------------------
Ant test failed. Did you forget to include BuiltInEventHandlerTestCase?
Testsuite: org.apache.velocity.test.BuiltInEventHandlerTestCase
Tests run: 9, Failures: 1, Errors: 0, Time elapsed: 0.672 sec
Testcase: testEscapeHtml took 0.062 sec
Testcase: testEscapeXml took 0 sec
Testcase: testEscapeSql took 0.016 sec
Testcase: testEscapeJavaScript took 0 sec
Testcase: testEscapeReferenceMatchAll took 0.203 sec
Testcase: testEscapeReferenceMatch took 0.078 sec
Testcase: testPrintExceptionHandler took 0.141 sec
Testcase: testIncludeNotFound took 0.062 sec
Testcase: testIncludeRelativePath took 0.078 sec
FAILED
Output incorrect.
junit.framework.AssertionFailedError: Output incorrect.
at
org.apache.velocity.test.BuiltInEventHandlerTestCase.testIncludeRelativePath(BuiltInEventHandlerTestCase.java:317)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> the IncludeRelativePath handler should treat paths beginning with a slash as
> absolute paths
> -------------------------------------------------------------------------------------------
>
> Key: VELOCITY-460
> URL: http://issues.apache.org/jira/browse/VELOCITY-460
> Project: Velocity
> Issue Type: Improvement
> Components: Source
> Affects Versions: 1.5 beta1
> Reporter: Claude Brisson
> Priority: Minor
> Attachments: IncludeRelativePath.patch, IncludeRelativePath.patch.v2
>
>
> The most widely spread convention about systems supporting relative paths is
> that paths that begin with '/' (or '\') are absolute while others are
> relative. The IncludeRelativePath event handler should follow the same
> convention.
> The corrective patch is attached.
--
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]