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

Document search does not handle checkbox criteria

    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.3
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-6881Unable to customize document search results based on criteria
      KULRICE-1764Document Search does not return all valid results when using a Route Node Name criteria on Detailed Search
      KULRICE-1106Campus Type - Lookup provides Active/Inactive search criteria, but doc does not have Active checkbox
      KULRICE-12351Document search criteria trims title unexpectedly
      KULRICE-3639allow ranges and wilcards for document search.
      KULRICE-1374EDocLite does not properly handle multi-value checkboxes in the case of rendering as read-only
      KULRICE-6091Exception in document search when searching with invalid criteria
      KULRICE-3238Doc Search building criteria and additional fields using doc type hierarchy
      KULRICE-1239Doc Type lookup does not hide inactive childred doc types when the search criteria specifies active only document types and climb hierarchy = yes
      KULRICE-5390Lookup - Implement search field conversions
    • 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.

        Issue Links

          Activity

          Hide
          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
          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:
              Shannon Hess
              Reporter:
              Jonathan Keller
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Structure Helper Panel