Click
  1. Click
  2. CLK-274

MessagesMap - improve cache key

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None
    • Environment:
      all

      Description

      In trying to write a test case for CLK-269, I ran into the following issue: MessagesMap caches its messages on a key made up of the baseClass and locale. It does not take the globalBaseName into consideration.

      Attached is a patch to improve the cache key as well as a test case.

        Activity

        Bob Schellink created issue -
        Bob Schellink made changes -
        Field Original Value New Value
        Attachment MessagesMap.java.patch [ 10310 ]
        Bob Schellink made changes -
        Attachment MessagesMapTest.java.patch [ 10311 ]
        Malcolm Edgar made changes -
        Assignee Malcolm Edgar [ medgar ] Bob Schellink [ sabob ]
        Malcolm Edgar made changes -
        Assignee Bob Schellink [ sabob ] Malcolm Edgar [ medgar ]
        Malcolm Edgar made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Malcolm Edgar made changes -
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Resolved [ 5 ]
        Malcolm Edgar made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Henri Yandell made changes -
        Project Import Fri Mar 20 14:11:32 PDT 2009 [ 1237583492744 ]

          People

          • Assignee:
            Malcolm Edgar
            Reporter:
            Bob Schellink
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development