Uploaded image for project: 'Kuali Rice Development'
  1. Kuali Rice Development
  2. KULRICE-6495

When a field is refreshed that triggers a progressive disclosure condition, the check for progressive disclosure is not triggered

    Details

    • Type: Bug Fix
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
    • Rice Module:
      KRAD
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      I discovered this issue while doing some testing with the new #np binding prefix on the agenda editor.

      If you have a field that progressively discloses another field, and then that field (the trigger field) is refreshed (by another condition) when the field refreshes the progressive disclose condition is not checked. If the field changes we need the condition to be rechecked and the disclosed content to be shown or hidden.

      This seems similar to another issue we had where the fields we populated from an ajax query or lookup where not triggering the progressive disclosure checks. I had to trigger the change event in code. It seems the browsers don't fire change events when a value is changed programmatically.

      Just a note the same problem would occur if the refreshed field was suppose to trigger a refresh check itself.

      Not exactly sure the solution. One possibility is to look through the refreshed content to pick up fields and trigger the change event. However, this has some problems. One the value might not have actually changed. So it could send a refresh call when it is not needed. Second the refreshed content could be a big collection, so we would be going through triggering change events on several fields that probably don't even have a condition. There might be a way we can query to determine if the field has a listener before we trigger.

      The testing I did was not checked in as it was not actually part of the agenda. So we will need to recreate the situation in the kitchen sink.

        Attachments

          Activity

          jkneal Jerry Neal (Inactive) created issue -
          jkneal Jerry Neal (Inactive) made changes -
          Field Original Value New Value
          Rice Lead jkneal
          jcoltrin Jessica Coltrin (Inactive) made changes -
          Fix Version/s 2.2-backlog [ 16475 ]
          jcoltrin Jessica Coltrin (Inactive) made changes -
          Start Date
          Fix Date [ set to sprint end date ]
          jcoltrin Jessica Coltrin (Inactive) made changes -
          Fix Version/s 2.2.1 [ 16733 ]
          Fix Version/s 2.2 [ 16411 ]
          Fix Version/s 2.2-backlog [ 16475 ]
          jcoltrin Jessica Coltrin (Inactive) made changes -
          Fix Version/s 2.3-backlog [ 16596 ]
          Fix Version/s 2.2.1 [ 16733 ]
          spatterson Shem Patterson (Inactive) made changes -
          Workflow custom [ 130266 ] Copy of custom for rice [ 207216 ]
          spatterson Shem Patterson (Inactive) made changes -
          Workflow Copy of custom for rice [ 207216 ] custom [ 216964 ]
          spatterson Shem Patterson (Inactive) made changes -
          Workflow custom [ 216964 ] Rice Workflow [ 226712 ]
          jcoltrin Jessica Coltrin (Inactive) made changes -
          Fix Version/s 2.4 [ 16913 ]
          Fix Version/s 2.4-backlog [ 16596 ]
          jcoltrin Jessica Coltrin (Inactive) made changes -
          Fix Version/s Backlog [ 15811 ]
          Fix Version/s 2.4 [ 16913 ]
          kbtaylor Kristina Taylor (Inactive) made changes -
          Rank Ranked higher
          kbtaylor Kristina Taylor (Inactive) made changes -
          Rank Ranked higher
          kbtaylor Kristina Taylor (Inactive) made changes -
          Rank Ranked higher
          ewestfal Eric Westfall made changes -
          Labels Old

            People

            • Assignee:
              Unassigned
              Reporter:
              jkneal Jerry Neal (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: