[jira] [Updated] (OFBIZ-3767) Enhance UtilProperties.getMessage to support a default message when the resource key is not found in the bundle

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-3767) Enhance UtilProperties.getMessage to support a default message when the resource key is not found in the bundle

Nicolas Malin (Jira)

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

Sharan Foga updated OFBIZ-3767:
-------------------------------
    Sprint: Bug Crush Event - 21/2/2015

> Enhance UtilProperties.getMessage to support a default message when the resource key is not found in the bundle
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3767
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3767
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Bob Morley
>            Assignee: Adam Heath
>            Priority: Trivial
>
> This is related to OFBIZ-3749 where it was noted that it would be nice to have an overload of the methods in UtilProperties related to getMessage so that the caller can pass in a default message to be returned in the key is not found.  The default will remain returning the name of the key; but other callers (such as OFBIZ-3749) that want to do special logic on a missing key can handle this nicely.  Since there is no real issue with OFBIZ-3749 this ticket is marked as trivial; we can fix on a best efforts basis.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)