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

Using empty role qualifiers causes "cannot be modified" validation error when adding delegates for associated member

    Details

    • Type: Task Task
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.3
    • Fix Version/s: Backlog
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
    • Similar issues:
      KULRICE-4762Role: Removed an Assignee who has delegations associated with him and now the Role cannot be updated
      KULRICE-3989UIDocumentService.loadRoleMemberQualifiers - is there a way to load qualifiers not associated with the role type
      KULRICE-14235KIM Role: Delegate issues once the member is inactivated
      KULRICE-4899Cannot add member to role because qualifiers are not being checked for uniqueness
      KULRICE-2300Modify the AttributeEDLConfigComponent class to allow 'Save' to not cause an error when field is empty.
      KULRICE-12005Empty FDOC_NBR when submitting a Person document with a delegation
      KULRICE-14229Optimistic locking issue when adding role delegate member
      KULRICE-7711Role qualifier validation being ignored when assigning a role as a member
      KULRICE-12006Empty FDOC_NBR when submitting a Role document with a role member
      KULRICE-12836Role qualifiers lost on role maintenance document
    • Rice Module:
      KIM
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes

      Description

      In DataDictionaryTypeServiceBase.validateUnmodifiableAttributes the validation check to see if original qualifier attribute still equals delegation qualifier attributes fails since ("") != (null)

      mainAttributeValue=""
      deelegationAttributeValue=null

      Found similar issue KFS ran into https://jira.kuali.org/browse/KFSMI-6095, but they got around to filing JIRA.

      The mainAttributeValue comes from the originalAttributes map, which comes from RoleMember.getQualifiers() which stores empty qualifiers as empty string instead of null. I presume when the qualifiers gets copied for delegations it copies over as null.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Will Gomes (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Structure Helper Panel