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

Document search does not handle checkbox criteria

    Details

    • Type: Bug Fix
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1.2
    • Fix Version/s: 2.1.3
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Rice Module:
      KEW
    • Application Requirement:
      KFS
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      It looks like the merge of the lookup framework with the document search had a side effect. The document search does not seem to handle boolean/checkbox criteria. The DocumentSearchGeneratorImpl does not account for that extra xxxxxx{CheckboxPresentOnFormAnnotation} property present in the lookup form and throws an exception.

      You can see the details and how to reproduce on KFS on the linked KFSMI-10009 JIRA.

        Attachments

          Issue Links

            Activity

            Hide
            shahess Shannon Hess added a comment -

            Once I got past the initial error there were some additional problems:

            1. No rows were returned when the delegate check box was selected because the attribute value for delegate was "on", but it is "Y" in the KREW_DOC_HDR_EXT_T Table
            2. The delegate check box was unchecked after a search, which I thought should not be happening.

            All of the issues have now been fixed. If the delegate box is checked only ORR documents which have delegate set to "Y" are returned. If the delegate box is not checked, ORR documents are returned which have delegate set to 'Y' or 'N'. This made sense to me so it is possible to get all ORR documents, but if the behavior should be different just let me know. It's a double edged sword since it also makes it so you can't just get ORR documents that have delegate = 'N'. It almost needs to be a radio button with the options "Yes", "No", and "Both".

            Thanks,
            Shannon

            Show
            shahess Shannon Hess added a comment - Once I got past the initial error there were some additional problems: 1. No rows were returned when the delegate check box was selected because the attribute value for delegate was "on", but it is "Y" in the KREW_DOC_HDR_EXT_T Table 2. The delegate check box was unchecked after a search, which I thought should not be happening. All of the issues have now been fixed. If the delegate box is checked only ORR documents which have delegate set to "Y" are returned. If the delegate box is not checked, ORR documents are returned which have delegate set to 'Y' or 'N'. This made sense to me so it is possible to get all ORR documents, but if the behavior should be different just let me know. It's a double edged sword since it also makes it so you can't just get ORR documents that have delegate = 'N'. It almost needs to be a radio button with the options "Yes", "No", and "Both". Thanks, Shannon

              People

              • Assignee:
                shahess Shannon Hess
                Reporter:
                jkeller Jonathan Keller
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: