You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Peter Ertl (JIRA)" <ji...@apache.org> on 2011/04/28 19:54:04 UTC

[jira] [Commented] (WICKET-3650) parentFolderPlaceholder default value in Settings implementation is inconsistent with the javadoc

    [ https://issues.apache.org/jira/browse/WICKET-3650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13026388#comment-13026388 ] 

Peter Ertl commented on WICKET-3650:
------------------------------------

fixed the javadoc for 1.5 ... however generating urls with 'null' inside seems to only happen in 1.4

> 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
>   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