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

Custom Inquirables not considered in nested inquiries

    Details

    • Type: Bug Fix Bug Fix
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.4
    • Fix Version/s: 2.6
    • Security Level: Public (Public: Anyone can view)
    • Labels:
    • Similar issues:
      KULRICE-4393roles, principals and groups can't be inquired on when in KIM inquiry screens
      KULRICE-10448Inquirable Gap Analysis: Ability to customize the Inquiry URL rendered
      KULRICE-9863Identify inquirable gaps between KNS and KRAD inquiry features
      KULRICE-11220Create Automated Functional (Smoke) Tests for KRAD Labs - Inquiries
      KULRICE-1616inquiries on nested properties not working
      KULRICE-11339Create Automated Functional Tests for KRAD Labs - default inquirable
      KULRICE-10450Inquirable Gap Analysis: Opening of Inquiries in separate windows
      KULRICE-11438Incorporate "Inquire Into Records" permissions
      KULRICE-10084The Uif-Inquire title is ignored
      KULRICE-3175When performing inquiries the system returns data elements that can in turn be inquired upon. In some screens this leads to a circular inquiry situation.
    • Rice Team:
      Framework
    • Rice Module:
      KRAD
    • KRAD Feature Area:
      Inquiry
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes

      Description

      In building one of the Inquiry demo views, I discovered that if I specified a viewHelperServiceClass in a view that had a viewName other than the default, then it was not called in the code and did not render my nested inquiry link for accountTypeCode. I believe the problem is that the view has a different viewName than the default and that name is not being transferred to the nested Inquiry object. The following workaround is what I had to do in LabInquiryViews.xml:

      <bean id="LabsInquiry-CustomLink" parent="LabsInquiry-DefaultView">
        <property name="viewName" value="LabsInquiry-CustomLinkView"/>
        <property name="headerText" value="Inquiry Custom Link Sample"/>
        <property name="viewHelperServiceClass" value="org.kuali.rice.krad.labs.inquiry.LabsInquiryCustomLinkInquirable"/>
        <property name="items">
          <list>
            <bean id="TravelAccount-InquiryView-Custom" parent="Uif-Disclosure-GridSection">
              <property name="headerText" value="Account Type Information"/>
              <property name="items">
                <list>
                  <bean parent="Uif-DataField" p:propertyName="accountTypeCode" p:forcedValue="@{#dp.accountTypeCode} (Click for Example)">
                    <property name="inquiry">
                      <bean parent="Uif-Inquiry">
                        <property name="viewName" value="LabsInquiry-CustomLinkView"/>
                      </bean>
                    </property>
                  </bean>
                  <bean parent="Uif-DataField" p:propertyName="name"/>
                  <bean parent="Uif-DataField" p:propertyName="codeAndDescription"/>
                </list>
              </property>
            </bean>
          </list>
        </property>
      </bean>
      

      I also noticed that I couldn't override the link text, which is why I have the p:propertyName="accountTypeCode" p:forcedValue="@{#dp.accountTypeCode} (Click for Example)". Please update the example as well when this is working.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Kristina Taylor (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - 1 day
              1d
              Remaining:
              Remaining Estimate - 1 day
              1d
              Logged:
              Time Spent - Not Specified
              Not Specified

                Structure Helper Panel