You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (Jira)" <ji...@apache.org> on 2021/09/30 18:36:00 UTC

[jira] [Resolved] (WICKET-6922) getString() does not respect property substitution on ResourceSetting setUseDefaultOnMissingResource(true)

     [ https://issues.apache.org/jira/browse/WICKET-6922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sven Meier resolved WICKET-6922.
--------------------------------
      Assignee: Sven Meier
    Resolution: Not A Problem

Property substitution in property keys is a feature of StringResourceModel, no wonder this does not work for the #getString() call :P

> getString() does not respect property substitution on ResourceSetting setUseDefaultOnMissingResource(true)
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-6922
>                 URL: https://issues.apache.org/jira/browse/WICKET-6922
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>    Affects Versions: 8.10.0
>            Reporter: Patrick Davids
>            Assignee: Sven Meier
>            Priority: Major
>         Attachments: WicketGetStringBug.zip
>
>
> Hi all,
> quickstart attached.
>  
> Application is set to setUseDefaultOnMissingResource(true).
>  
> Label 1 displays the given default value, without respecting the property substitution.
> Label 2 displays the correct label text correctly evaluated from the properties file.
>  
> kind regards
> Patrick



--
This message was sent by Atlassian Jira
(v8.3.4#803005)