Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.3, 2.4
    • Fix Version/s: 2.4
    • Component/s: Development, Regression
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-12014KRAD Library- Widgets - Suggest not working properly
      KULRICE-11901Library Help Widgets not working
      KULRICE-11944Suggest does not work
      KULRICE-11903Inquiry Widget Example is blank
      KULRICE-10071KRAD Component Suggest - Some examples don't suggest based on examples given
      KULRICE-11107AFT Failure KRAD LIbrary Widget Suggest Auto-Query Configuration requires capitalization to work now (uppercase)
      KULRICE-11900AFT Failure View Help Method Suggest Widget has empty results
      KULRICE-12527KRAD Library Widgets Help Example: Incorrect Positioning
      KULRICE-10592Library widgets breadcrumb example error
      KULRICE-10503KRAD Demo Library Widget Suggest View Helper Method Configuration 2 not suggesting a6-sub
    • Rice Module:
      KRAD
    • Application Requirement:
      Rice
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required

      Description

      To reproduce go to library --> widgets --> suggest

      • Configuration 1 doesn't work. Nothing return when typing 'a1' or 'a2'.
      • Configuration 2 doesn't work - Reported in KULRICE-10531
      • Service method and sorting config doesn't work. Nothing returned when typing 'sub'.
      • Rich suggest options doesn't work. Nothing returned when typing 'r'.
      • Custom selection doesn't work. Nothing returned with typing 'c' or down key.
      • Location suggest doesn't work. Nothing returned when typing 't' or 's'

        Issue Links

          Activity

          Hide
          Adam Campbell (Inactive) added a comment - - edited

          Non-functional suggests:

          env14 (2.4):
          Auto-Query Configuration
          View Helper Method Configuration 2
          Service Method and Sorting Configuration
          Rich suggest options
          Custom selection
          LocationSuggest

          env11 (2.3)
          View Helper Method Configuration 2
          Rich suggest options
          Custom selection
          LocationSuggest

          Show
          Adam Campbell (Inactive) added a comment - - edited Non-functional suggests: env14 (2.4): Auto-Query Configuration View Helper Method Configuration 2 Service Method and Sorting Configuration Rich suggest options Custom selection LocationSuggest env11 (2.3) View Helper Method Configuration 2 Rich suggest options Custom selection LocationSuggest
          Hide
          Adam Campbell (Inactive) added a comment - - edited

          Adding these notes from KULRICE-10221 (which was closed as duplicate of this one):

          (description)

          The KRAD suggests that connect to database tables aren't working in the KRAD sample app. The SQL generated as changed.

          For example prior:

          SELECT ... WHERE UPPER(A0.acct_type) LIKE 'CA%'

          now it is:

          SELECT ... WHERE ACCT_TYPE LIKE 'CA*'

          Jonathan Keller added a comment - 23/Aug/13 1:20 PM

          This looks like a change to the lookup service - something with treating fields as literals. I've never set that. Maybe a default changed somewhere...
          Jonathan Keller added a comment - 23/Aug/13 1:25 PM

          No - it seems that on one of the KRAD views defined in the sample application, that particular field's wildcard support was turned off:

          ./rice-framework/krad-sampleapp/src/main/resources/org/kuali/rice/krad/labs/LabsLookupViews.xml:184: <bean parent="Uif-LookupCriteriaInputField" p:propertyName="number" p:disableWildcardsAndOperators="true"/>

          Jonathan Keller added a comment - 04/Sep/13 12:54 PM

          huh - I see the problem now.

          It looks like something is not as we expected JPA to handle it based on this code/comment:

                  } else if (p instanceof LikePredicate) {
                      //no need to convert * or ? since ojb handles the conversion/escaping
                      addLike(parent, pp, value);
          
          Show
          Adam Campbell (Inactive) added a comment - - edited Adding these notes from KULRICE-10221 (which was closed as duplicate of this one): (description) The KRAD suggests that connect to database tables aren't working in the KRAD sample app. The SQL generated as changed. For example prior: SELECT ... WHERE UPPER(A0.acct_type) LIKE 'CA%' now it is: SELECT ... WHERE ACCT_TYPE LIKE 'CA*' – Jonathan Keller added a comment - 23/Aug/13 1:20 PM This looks like a change to the lookup service - something with treating fields as literals. I've never set that. Maybe a default changed somewhere... Jonathan Keller added a comment - 23/Aug/13 1:25 PM No - it seems that on one of the KRAD views defined in the sample application, that particular field's wildcard support was turned off: ./rice-framework/krad-sampleapp/src/main/resources/org/kuali/rice/krad/labs/LabsLookupViews.xml:184: <bean parent="Uif-LookupCriteriaInputField" p:propertyName="number" p:disableWildcardsAndOperators="true"/> Jonathan Keller added a comment - 04/Sep/13 12:54 PM huh - I see the problem now. It looks like something is not as we expected JPA to handle it based on this code/comment: } else if (p instanceof LikePredicate) { //no need to convert * or ? since ojb handles the conversion/escaping addLike(parent, pp, value);
          Hide
          Erik Meade added a comment -

          Add Regression component, promoted to Critical, and added effects for 2.4.0-m3 as AFTs are failing on this.

          Show
          Erik Meade added a comment - Add Regression component, promoted to Critical, and added effects for 2.4.0-m3 as AFTs are failing on this.
          Hide
          Brian Smith (Inactive) added a comment -

          With the fix I did today, it appears only:

          Auto-Query Configuration
          Service Method and Sorting Configuration

          don't work.

          Show
          Brian Smith (Inactive) added a comment - With the fix I did today, it appears only: Auto-Query Configuration Service Method and Sorting Configuration don't work.
          Hide
          Brian Smith (Inactive) added a comment - - edited

          Service Method and Sorting Configuration - this one appears to be caused by:

          org.kuali.rice.krad.uif.util.ObjectPropertyReference - java.lang.IllegalArgumentException: No property name 'subAccountName' is readable on class org.kuali.rice.krad.demo.travel.dataobject.TravelAccount

          Since the property doesn't exist anymore and the search backing it is looking for it. Looks like it was changed to a list, this was causing breakages elsewhere and I changed it to use foId instead in those samples.

          Show
          Brian Smith (Inactive) added a comment - - edited Service Method and Sorting Configuration - this one appears to be caused by: org.kuali.rice.krad.uif.util.ObjectPropertyReference - java.lang.IllegalArgumentException: No property name 'subAccountName' is readable on class org.kuali.rice.krad.demo.travel.dataobject.TravelAccount Since the property doesn't exist anymore and the search backing it is looking for it. Looks like it was changed to a list, this was causing breakages elsewhere and I changed it to use foId instead in those samples.
          Hide
          Brian Smith (Inactive) added a comment - - edited

          Just so you know on this one I still am not sure what the problem is with Auto-Query Configuration example - Adam Campbell and Jonathan Keller have some good leads on it seems (see above) but I have no real idea how to fix it.

          Show
          Brian Smith (Inactive) added a comment - - edited Just so you know on this one I still am not sure what the problem is with Auto-Query Configuration example - Adam Campbell and Jonathan Keller have some good leads on it seems (see above) but I have no real idea how to fix it.

            People

            • Assignee:
              Brian Smith (Inactive)
              Reporter:
              Jeff Ruch
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Structure Helper Panel