[
https://issues.apache.org/jira/browse/WICKET-3650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13026390#comment-13026390
]
Peter Ertl commented on WICKET-3650:
------------------------------------
fixed javadoc for 1.4, too. disabling the feature with null should work now.
the path stays unmodified. however parent resources obviously will not work in
that case (which is just as expected) and the resource path is invalid.
> parentFolderPlaceholder default value in Settings implementation is
> inconsistent with the javadoc
> -------------------------------------------------------------------------------------------------
>
> Key: WICKET-3650
> URL: https://issues.apache.org/jira/browse/WICKET-3650
> Project: Wicket
> Issue Type: Bug
> Components: wicket-core
> Affects Versions: 1.4.17, 1.5-RC3
> Reporter: Frédéric Donckels
> Assignee: Peter Ertl
> Priority: Minor
> Labels: path, resource, security
> Fix For: 1.4.18, 1.5-RC4
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> In relation to wicket-1992,
> the javadoc for:
> org.apache.wicket.settings.IResourceSettings#setParentFolderPlaceholder
> says:
> "Note that by default the placeholder string is empty '' and thus will not
> allow to access parent folders."
> But the default is null, not ''
> and this generates src url like this:
> resources/com.test.sub.pack.TestPage/null/null/base/information.png
> which do work, but probably shouldn't.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira