[
https://issues.apache.org/jira/browse/WICKET-341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Benda updated WICKET-341:
--------------------------------
Attachment: AjaxServerAndClientTimeFilter.patch
> [Patch] AjaxServerAndClientTimeFilter either throws an exception or displays
> a wrong text
> -----------------------------------------------------------------------------------------
>
> Key: WICKET-341
> URL: https://issues.apache.org/jira/browse/WICKET-341
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 2.0
> Reporter: Martin Benda
> Attachments: AjaxServerAndClientTimeFilter.patch
>
>
> When IResourceSettings.getThrowExceptionOnMissingResource() is true (the
> default value), the AjaxServerAndClientTimeFilter throws
> MissingResourceException instead of displaying a default message "Server
> parsetime: X, Client parsetime: Y".
> Moreover, when "ServerAndClientTimeFilter.statustext" and
> "ajax.ServerAndClientTimeFilter.statustext" resource keys are defined, it
> does not throw the exception, but a wrong message is displayed ---
> ${servertime} and ${clienttime} variables in the resource string are not
> interpolated.
> The attached patch fixes both bugs.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.