Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-3767

Enhance UtilProperties.getMessage to support a default message when the resource key is not found in the bundle

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • Trunk, Upcoming Branch
    • None
    • framework
    • None
    • Bug Crush Event - 21/2/2015

    Description

      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.

      Attachments

        Activity

          People

            doogie Adam Heath
            bmorley Bob Morley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: