Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0 branch (discontinued)
-
None
Description
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.