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

KRAD role type services passing nulls to location/core service methods

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.1.2
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-7612Update core and location services to not throw exceptions when passed null arguments
      KULRICE-4567Make Responsibility Service not sensitive to miscoded role type services
      KULRICE-2353KIM Role Service Test
      KULRICE-7353RoleServiceBase using wrong method for obtaining type services
      KULRICE-12826submitting role doc after saving results in java.lang.IllegalArgumentException: Invalid service name passed, value was null
      KULRICE-8488Role Service does not notify that a derived role type service was not found
      KULRICE-10640BusinessObjectAuthorizationServiceImpl unmask methods do not consult authorizers for role qualifiers
      KULRICE-4419KIM Role Service fails when member ID is null
      KULRICE-3705Remove unused API method from role type service
      KULRICE-7878IdentityManagementPersonDocument is not passing a class to the sequence accessor service
    • Rice Module:
      KRAD
    • Application Requirement:
      KFS
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      It looks like validation on some KIM documents is problematic because they are passing nulls into the service methods of API calls. See truncated stack trace below:

      I know there is a linked issue - but I can't find it and wanted to list steps to reproduce.

      • Go to Group lookup
      • Click create new
      • search for and select the type "Responsibility"
      • enter a description in the document header
      • Click submit
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException: the code is blank
      	at org.kuali.rice.coreservice.impl.namespace.NamespaceServiceImpl.getNamespace(NamespaceServiceImpl.java:37)
      ...
      	at org.kuali.rice.krad.kim.NamespaceWildcardAllowedAndOrStringExactMatchPermissionTypeServiceImpl.validateReferencesExistAndActive(NamespaceWildcardAllowedAndOrStringExactMatchPermissionTypeServiceImpl.java:111)
      	at org.kuali.rice.kns.kim.type.DataDictionaryTypeServiceBase.validateAttributes(DataDictionaryTypeServiceBase.java:177)
      	at org.kuali.rice.kim.document.rule.IdentityManagementGroupDocumentRule.validateGroupQualifier(IdentityManagementGroupDocumentRule.java:175)
      	at org.kuali.rice.kim.document.rule.IdentityManagementGroupDocumentRule.processCustomSaveDocumentBusinessRules(IdentityManagementGroupDocumentRule.java:82)
      

        Issue Links

          Activity

          Hide
          Peter Giles (Inactive) added a comment -

          Hey Jonathan, is this related to KULRICE-7612?

          Show
          Peter Giles (Inactive) added a comment - Hey Jonathan, is this related to KULRICE-7612 ?
          Hide
          Jonathan Keller added a comment -

          Yes! Thank you. I was JIRA-challenged and couldn't find it after a few minutes.

          Show
          Jonathan Keller added a comment - Yes! Thank you. I was JIRA-challenged and couldn't find it after a few minutes.
          Hide
          Peter Giles (Inactive) added a comment -

          See linked issue comments.

          Show
          Peter Giles (Inactive) added a comment - See linked issue comments.
          Hide
          Jonathan Keller added a comment -

          Nothing to test on this one, so closing.

          Show
          Jonathan Keller added a comment - Nothing to test on this one, so closing.

            People

            • Assignee:
              Peter Giles (Inactive)
              Reporter:
              Jonathan Keller
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Structure Helper Panel