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

PeopleFlow Maintenance Document - Unable to set ApprovePolicy when PeopleFlow Member is of type Group

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1.2
    • Fix Version/s: 2.1.4, 2.2.2
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-10652PeopleFlow members of type Group should not be able to set the action request policy
      KULRICE-12428On PeopleFlow maint doc, the lookup for a Role member isn't returning the roll
      KULRICE-6870PeopleFlow Member Delegate's Names aren't set.
      KULRICE-8057PeopleFlow member add exceptions
      KULRICE-8059PeopleFlow Member Delegates Member Type selection errors.
      KULRICE-10504Setting PeopleFlow member type to Group in addline results in FTL error
      KULRICE-8534PeopleFlow Maintenance does not allow for Role selection
      KULRICE-8104Changing PeopleFlow Member Type results in errors
      KULRICE-11295Unable to change rule action from Validation to Route to Peopleflow / Notify PeopleFlow
      KULRICE-9052PeopleFlow maintenance Document Cancel action has incorrect component type
    • Application Requirement:
      KC
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Include in Release Notes?:
      Yes

      Description

      When I attempt to add a PeopleFlow Member of type Role, I get the option of choosing the Action Request Approve Policy (All or First Action) as either All or First. But if I attempt to add a PeopleFlow Member of type Group, I don't get the option to choose. The system makes the Approve Policy (All or First Action) field empty and read-only but in the back-end it defaults the value to 'F' for 'First'.

      As per reporter's comment:

      From a cursory look at the code, changing the progressiveRender in PeopleFlowViews.xml for actionRequestPolicyCode property seems to fix the issue for this field.
      Current definition:

      <bean parent="Uif-InputField" p:propertyName="actionRequestPolicyCode" p:refreshWhenChanged="#lp.memberTypeCode"  p:progressiveRender="#line.memberTypeCode eq 'R'" p:defaultValue="F" p:required="true"/>
      

      Proposed definition:

      <bean parent="Uif-InputField" p:propertyName="actionRequestPolicyCode" p:refreshWhenChanged="#lp.memberTypeCode"
      p:progressiveRender="#line.memberTypeCode eq 'R' or #line.memberTypeCode eq 'G'" p:defaultValue="F" p:required="true"/>
      

      The issue is also present while adding Delegate Members (screenshot attached).

      1. 1.jpg
        62 kB
      2. 2.jpg
        48 kB

        Activity

        Hide
        Jeff Ruch added a comment -

        Implemented Gayathri's fix and tested.

        Show
        Jeff Ruch added a comment - Implemented Gayathri's fix and tested.
        Hide
        Gayathri Athreya added a comment - - edited

        This fixes the first issue but not the one occurring while adding delegate members. A similar fix is required for that as well. Please see attached screenshot.

        Show
        Gayathri Athreya added a comment - - edited This fixes the first issue but not the one occurring while adding delegate members. A similar fix is required for that as well. Please see attached screenshot.
        Hide
        Jeff Ruch added a comment -

        Implemented fix for delegate members.

        Show
        Jeff Ruch added a comment - Implemented fix for delegate members.
        Hide
        Gayathri Athreya added a comment -

        Awesome, thanks Jeff

        Show
        Gayathri Athreya added a comment - Awesome, thanks Jeff

          People

          • Assignee:
            Jeff Ruch
            Reporter:
            Gayathri Athreya
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Structure Helper Panel