Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-12457

KRMS error and cache flush messages not appearing right

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.5, 2.4
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-6498Create custom maintainables where needed for cache flushing.
      KULRICE-9455Ingesting a doc type needs to flush additional caches
      KULRICE-7205Cache administration screen doesn't provide feedback on flush
      KULRICE-7291caching issue exposed when creating agenda for new context
      KULRICE-8577Cache Manager: Intended Message not found
      KULRICE-12496AFT Failure ClearIndividualCashes cache cleared message no longer displayed
      KULRICE-7196Permisison cache isn't flushed on submit of role document
      KULRICE-12363Make priority of KIM cache messages configurable
      KULRICE-5967Investigate whether we should publish methods on services to flush caches
      KULRICE-12485Adding/Removing a role doesn't take effect even if you clear the kim cache
    • Rice Module:
      KRMS
    • Application Requirement:
      KC, KPME
    • Sprint:
      2.4.0-rc1 Sprint 8
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes

      Description

      The krms and cache flush messages are not being displayed correctly, as though the application cannot find the resources bundle for it. For example, some KRMS messages read

       Intended message with key: error.rule.proposition.simple.blankField not found.
          Intended message with key: error.rule.proposition.simple.blankField not found.
          Intended message with key: error.rule.proposition.simple.blankField not found.
      

      Further investigation revealed we should have the following set

      <param name="resourceBundleNames">org.kuali.rice.krad.KRADApplicationResources,org.kuali.rice.krad.ApplicationResources,org.kuali.rice.core.web.cache.CacheApplicationResources,org.kuali.rice.krms.ApplicationResources</param>
      

      This probably needs to go into the 2.3 common-config-defaults.xml file. Also not seeing this documented anywhere but if it goes into the common-config it perhaps need not be? Not sure.

        Activity

        Hide
        Kristina Taylor (Inactive) added a comment -

        Looks like this actually needs to go in framework-config-defaults.xml. Since our sample app overrides this variable to add new resource bundles, we didn't catch it.

        Show
        Kristina Taylor (Inactive) added a comment - Looks like this actually needs to go in framework-config-defaults.xml . Since our sample app overrides this variable to add new resource bundles, we didn't catch it.
        Hide
        Gayathri Athreya added a comment - - edited

        Just curious why the krms and cache resources are clubbed with the KRAD ones? Resource bundles for KIM, KEW and the other modules seem to be specified using a different config param. Is it because KRMS and the cache screens are in KRAD?

        Show
        Gayathri Athreya added a comment - - edited Just curious why the krms and cache resources are clubbed with the KRAD ones? Resource bundles for KIM, KEW and the other modules seem to be specified using a different config param. Is it because KRMS and the cache screens are in KRAD?
        Hide
        Kristina Taylor (Inactive) added a comment -

        Not sure. That very well could be. Also possible that resourceBundleNames is new and other modules aren't fully integrated yet.

        Show
        Kristina Taylor (Inactive) added a comment - Not sure. That very well could be. Also possible that resourceBundleNames is new and other modules aren't fully integrated yet.

          People

          • Assignee:
            Kristina Taylor (Inactive)
            Reporter:
            Gayathri Athreya
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1 hour
              1h
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 hour
              1h

                Agile

                  Structure Helper Panel