Details

    • Type: Task Task
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0-m4
    • Fix Version/s: 2.2.1
    • Component/s: Unit Testing
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-4025Direct inquiry does not work properly in some conditions
      KULRICE-1579Direct inquiry links do not work on maintenance documents
      KULRICE-12547Direct inquiry renders including properties not present on the view
      KULRICE-5707Direct inquiry empty check not working and cancel on lightbox not working
      KULRICE-10568direct inquiry link fails when identifier has a dot expression
      KULRICE-3426in Responsibility lookup, none of the field direct inquiry image links work
      KULRICE-3423in Parameter Lookup, the Component field direct inquiry doesn't work
      KULRICE-5304KualiInquirableImpl doesn't check relationship in both directions
      KULRICE-3379Inquiry links from KEW Route Log to "Document Configuration View" to KEW Document Type Inquiry page shows invalid KEW Document Type Inquiry for document instance
      KULRICE-986Inquiry Framework - Direct Inquiry Gap
    • Rice Module:
      KRAD
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      I have an input field which defines properties inquiry.dataObjectClassName
      and inquiry.viewName. When I click on the Direct Inquiry image button (the
      open book) however, the view shown is the view that does not have a viewName
      property. I'm trying to point it at a second inquiry view. Here is (what I
      think is) the relevant configuration, where the middle bean is being used
      for the inquiry view instead of the last one:

      <bean parent="Uif-InputField">
          <property name="propertyName" value="stringField1"/>
          <property name="defaultValue" value="19974"/>
          <property name="inquiry.dataObjectClassName"
                    value="org.kuali.student.enrollment.acal.dto.TermInfo" />
          <property name="inquiry.viewName"
                    value="KS-KitchenSink-TermInfo-InquiryView"/>
          <property name="inquiry.inquiryParameters" value="stringField1:id"/>
      </bean>
      
      <bean id="KS-AcademicTerm-InquiryView" parent="Uif-InquiryView">
          <property name="dataObjectClassName"
                    value="org.kuali.student.enrollment.acal.dto.TermInfo" />
          <property name="viewHelperServiceClass"
                    value="...AcademicTermInfoInquirableImpl" />
          <property name="Items">
              ...
          </property>
      </bean>
      
      <bean id="KS-KitchenSink-TermInfo-InquiryView-Base"
      parent="Uif-InquiryView">
          <property name="dataObjectClassName"
                    value="org.kuali.student.enrollment.acal.dto.TermInfo" />
          <property name="viewName" value="KS-KitchenSink-TermInfo-InquiryView"/>
          <property name="viewHelperServiceClass"
                    value="...AcademicTermInfoInquirableImpl" />
          <property name="items">
              ...
          </property>
      </bean>
      

      If I give the first inquiry view bean a unique "viewName" property, the
      direct inquiry attempts throws a java.lang.NullPointerException at
      org.kuali.rice.krad.web.form.InquiryForm.getIn2.1quirable(InquiryForm.java:126)
      . That makes me think the direct inquiry property inquiry.viewName is not
      being used...

        Activity

        Hide
        Jessica Coltrin (Inactive) added a comment -

        Since these were fixed on the trunk, they are 2.3.

        Show
        Jessica Coltrin (Inactive) added a comment - Since these were fixed on the trunk, they are 2.3.

          People

          • Assignee:
            Sona Sona (Inactive)
            Reporter:
            Bob Hurt (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Structure Helper Panel