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

KRMS rule's action attributes not loaded for edit succesfully

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5.1
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-13314KRMS rule attributes not loaded for edit successfully
      KULRICE-5169Consistent KRMS entity attributes
      KULRICE-6611Correct KRMS type attributes for Validation Action & Rule in database
      KULRICE-7088Custom attributes for krms validation rule are not rendering
      KULRICE-6949Action section on a KRMS rule shows attribute names instead of attribute labels for custom action attributes
      KULRICE-13954KRMS view Rule not showing value of ruleAttributes settings.
      KULRICE-5666Integrate KRMS with KNS for validation rules
      KULRICE-9887KRMS Attribute with name 'peopleFlowName' has invalid namespace
      KULRICE-7679KRMS: failed loading resources on Agenda
      KULRICE-6097Selenium Smoke Test Creation: KRMS Basic Edit Functions
    • Rice Team:
      Middleware
    • Rice Module:
      KRMS
    • Sprint:
      Middleware 2.5.1 Sprint 2
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes
    • Story Points:
      5

      Description

      To reproduce:

      • From the Rice Sample App, create a minimal PeopleFlow (Main Menu -> Workflow -> PeopleFlow ...), and route it to completion.
      • Edit an existing agenda (Main Menu -> KRMS Rules/Lookups Agenda Lookup ...)
      • Click on a rule in the tree and click the "Edit Rule" button
      • Scroll to the action at the bottom of the rule editor
      • Set the Type to "Notify PeopleFlow"
      • Use the lookup to select your PeopleFlow
      • Set the required fields to test values
      • Click "Update Rule"
      • Click "Submit" and "Reload" to make sure the doc goes final
      • Use the Agenda lookup to inquire on that Agenda, and note that when viewing the rule the attributes are loaded and displayed successfully
      • Again using the lookup, edit that Agenda a second time.
      • Click on the same rule and click "Edit Rule"

      Expected result: The editable rule's action's attribute values (in this case PeopleFlow ID and PeopleFlow Name) are shown in editable form.
      Actual result: The rule's action attributes are blank.

      I debugged this enough to verify that the action attributes are indeed loaded when the BO is fetched in in the AgendaEditorMaintainable, so it looks like some type of binding issue.

        Issue Links

          Activity

          Hide
          Sona Sona (Inactive) added a comment -

          This is related to deepCopy(). The "value" property in BaseAttributeBo does not get serialized during the copy process since it is not Serializable. Making it serializable fixes the issue. Assigning it to Corey since he is working on a similar issue.

          Show
          Sona Sona (Inactive) added a comment - This is related to deepCopy(). The "value" property in BaseAttributeBo does not get serialized during the copy process since it is not Serializable. Making it serializable fixes the issue. Assigning it to Corey since he is working on a similar issue.
          Hide
          Martin Taylor (Inactive) added a comment -

          Closing 2.5.1 Development

          Show
          Martin Taylor (Inactive) added a comment - Closing 2.5.1 Development

            People

            • Assignee:
              Corey Pedersen (Inactive)
              Reporter:
              Peter Giles (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Agile

                  Structure Helper Panel