Uploaded image for project: 'CAS Server'
  1. CAS-1200

Allow the English language bundle to be default, if a message key is missing

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0 RC1, 4.0
    • Component/s: Web
    • Labels:
      None

      Description

      If a message key is missing from a language bundle, the failure will cause a crash and the JSP page will stop to render with a message that indicates "no message could be found under key xyz".

      Renaming messages_en.properties to messages.properties will allow the configuration to use the English bundle as the default fallback.

      This may be appropriate when deployers choose to customize the English message bundle with additional messages in a customized UI and yet, when the user accesses CAS for instance in a non-English browser, CAS will attempt to switch the language locale automatically which will cause a crash.

        Attachments

          Activity

            People

            • Assignee:
              mmoayyed Misagh Moayyed
              Reporter:
              mmoayyed Misagh Moayyed
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: