[jira] Created: (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] Created: (OFBIZ-3767) Enhance UtilProperties.getMessage to support a default message when the resource key is not found in the bundle

Nicolas Malin (Jira)
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: SVN trunk
            Reporter: Bob Morley
            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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.