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

KIM role document not handling missing qualifiers on role members

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0, 2.0.1
    • Fix Version/s: 2.0.2
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-4150NPE on Role Missing a Member
      KULRICE-12836Role qualifiers lost on role maintenance document
      KULRICE-7711Role qualifier validation being ignored when assigning a role as a member
      KULRICE-4153Inactive qualifiers cause problems on existing roles
      KULRICE-3989UIDocumentService.loadRoleMemberQualifiers - is there a way to load qualifiers not associated with the role type
      KULRICE-4581Update KIM role type service API for detection of invalid nesting
      KULRICE-4218Handle Groups and Roles without members
      KULRICE-8508Unable to add members to Roles with type KUALI : Default
      KULRICE-9005On missing role qualifiers, rice throws stack trace instead of error message.
      KULRICE-7738Responsibility Actions not appearing when adding a person to a role with action details defined at role member level
    • Rice Module:
      KIM
    • Application Requirement:
      KFS
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      It looks like the KIM role document is not handling cases where the attribute record does not exist for role members. If any of the displayed role member attributes does not exist, the page simply stops loading mis way through. Check out Role ID 5 in our Stage environment:

      http://rice.stg.kfs.kuali.org/kr-stg/kim/identityManagementRoleInquiry.do?methodToCall=inquiry&id=5

      Whereas role 12 loads just fine. (same type and set of qualifiers)

      http://rice.stg.kfs.kuali.org/kr-stg/kim/identityManagementRoleInquiry.do?methodToCall=inquiry&id=12

      No stack trace, but this appears in the logs:

      {{2012-04-05 11:10:34,046 [http-8080-6] ERROR org.kuali.rice.kns.web.struts.form.pojo.PojoPropertyUtilsBean :: Unable to get property descriptor for org.kuali.rice.kim.bo.ui.KimDocumentRoleMember . qualifier(12).attrVal
      java.lang.IllegalArgumentException: Mapped property names are not allowed}}

      (Attribute ID 12 is campusCode)

        Issue Links

          Activity

          Hide
          Ailish Byrne added a comment -

          taking the liberty of assigning you something that is blocking testing for kfs in exchange for the one i just unassigned, james b - feel free to push back. thanks!

          Show
          Ailish Byrne added a comment - taking the liberty of assigning you something that is blocking testing for kfs in exchange for the one i just unassigned, james b - feel free to push back. thanks!
          Hide
          Sona Sona (Inactive) added a comment -

          I have added a fix for the issue and verified that the related jiras are working. Please let me know if I can resolve this issue.

          Thanks,
          -Sona

          Show
          Sona Sona (Inactive) added a comment - I have added a fix for the issue and verified that the related jiras are working. Please let me know if I can resolve this issue. Thanks, -Sona
          Hide
          Jonathan Keller added a comment -

          It's working. You can resolve and close this issue. Thanks!

          Show
          Jonathan Keller added a comment - It's working. You can resolve and close this issue. Thanks!
          Hide
          Jonathan Keller added a comment -

          Sona,

          I need to re-open this issue. It looks like something is still wrong with the document. I've attached some images. The document is not showing the qualifiers even though they are there in the database.

          (Both images taken from the KFS STG instance.)

          Show
          Jonathan Keller added a comment - Sona, I need to re-open this issue. It looks like something is still wrong with the document. I've attached some images. The document is not showing the qualifiers even though they are there in the database. (Both images taken from the KFS STG instance.)
          Hide
          Sona Sona (Inactive) added a comment -

          Added a fix. Please let me know if it works for you.

          Thanks,
          -Sona

          Show
          Sona Sona (Inactive) added a comment - Added a fix. Please let me know if it works for you. Thanks, -Sona
          Hide
          Peter Giles (Inactive) added a comment -

          Resolving, please re-open if it isn't fixed for KFS.

          Show
          Peter Giles (Inactive) added a comment - Resolving, please re-open if it isn't fixed for KFS.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Structure Helper Panel