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

Exception on validation message template during component refresh

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0-m1, 2.3
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-12905Message on failure to contact server for component refresh
      KULRICE-2511Issues during DD Validation
      KULRICE-2094Add prototype.js script into project. Prototype can be very helpful. Also can be used by widgets like in template name= "select_input" to support form hiding during form refreshes.
      KULRICE-14093Add line dialog not displaying server error messages in dialog and other issues around collection actions and refreshes
      KULRICE-8580Jump action occurring on component refresh
      KULRICE-11292Validation messages on tree node components not displayed correctly
      KULRICE-12343RoleLookupableHelperServiceImpl Issue with references to refresh
      KULRICE-11578Option labels always go through message template
      KULRICE-7061Render lookup results by component refresh
      KULRICE-7590Support for progressive disclosure and component refresh on content elements
    • Rice Module:
      KRAD
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      Looks like if we refresh multiple fields on a field's value changes, it causes stacktrace (http://pastebin.com/x579AzU8). I guess it might be related to multiple ajax call at the same time but not exactly sure though. Please let me know if we need to create a jira for this issue.

      Here is the definition
      <bean id="KS-Catalog-AddFormatOffering" parent="Uif-HorizontalBoxSection" p:render="@

      {#dp.showCreateFormatSection}

      ">
      <property name="disclosure.render" value="false"/>
      <property name="items">
      <list>
      <bean parent="Uif-InputField-LabelTop" p:propertyName="addLineFormatWrapper.formatId" p:required="true" p:label="FORMAT" p:forceSessionPersistence="true">
      <property name="control">
      <bean parent="Uif-DropdownControl">
      <property name="cssClasses">
      <list merge="true">
      <value>ignoreValid</value>
      </list>
      </property>
      </bean>
      </property>
      <property name="optionsFinder">
      <bean class="org.kuali.student.enrollment.class2.courseoffering.keyvalue.FormatOfferingTypeForCreateCOTypeKeyValues" p:addBlankOption="false"/>
      </property>
      </bean>

      <bean parent="Uif-InputField-LabelTop" p:propertyName="addLineFormatWrapper.gradeRosterLevelTypeKey" p:refreshWhenChangedPropertyNames="#dp.addLineFormatWrapper.formatId" p:forceSessionPersistence="true"
      p:label="GRADE ROSTER LEVEL" p:required="true" p:finalizeMethodToCall="populateGradeRosterLevelTypes">
      <property name="control">
      <bean parent="Uif-DropdownControl"/>
      </property>
      </bean>
      <bean parent="Uif-InputField-LabelTop" p:propertyName="addLineFormatWrapper.finalExamLevelTypeKey" p:refreshWhenChangedPropertyNames="#dp.addLineFormatWrapper.formatId" p:forceSessionPersistence="true"
      p:label="FINAL EXAM DRIVER ACTIVITY" p:required="true" p:finalizeMethodToCall="populateFinalExamDriverTypes">
      <property name="control">
      <bean parent="Uif-DropdownControl"/>
      </property>
      </bean>

      </list>
      </property>
      </bean>

        Issue Links

          Activity

          Jerry Neal (Inactive) made changes -
          Field Original Value New Value
          Link This issue cloned from KULRICE-7208 [ KULRICE-7208 ]
          Jerry Neal (Inactive) made changes -
          Fix Version/s 2.3 [ 16595 ]
          Fix Version/s 2.3-backlog [ 16596 ]
          Reporter Jerry Neal [ jkneal ] Venkat PremChandran [ vpremcha ]
          Description    Looks like if we refresh multiple fields on a field's value changes, it causes stacktrace (http://pastebin.com/x579AzU8). I guess it might be related to multiple ajax call at the same time but not exactly sure though. Please let me know if we need to create a jira for this issue.

          Here is the definition
          <bean id="KS-Catalog-AddFormatOffering" parent="Uif-HorizontalBoxSection" p:render="@{#dp.showCreateFormatSection}">
                  <property name="disclosure.render" value="false"/>
                  <property name="items">
                      <list>
                          <bean parent="Uif-InputField-LabelTop" p:propertyName="addLineFormatWrapper.formatId" p:required="true" p:label="FORMAT" p:forceSessionPersistence="true">
                              <property name="control">
                                  <bean parent="Uif-DropdownControl">
                                      <property name="cssClasses">
                                        <list merge="true">
                                          <value>ignoreValid</value>
                                        </list>
                                      </property>
                                  </bean>
                              </property>
                              <property name="optionsFinder">
                                  <bean class="org.kuali.student.enrollment.class2.courseoffering.keyvalue.FormatOfferingTypeForCreateCOTypeKeyValues" p:addBlankOption="false"/>
                              </property>
                          </bean>

                           <bean parent="Uif-InputField-LabelTop" p:propertyName="addLineFormatWrapper.gradeRosterLevelTypeKey" p:refreshWhenChangedPropertyNames="#dp.addLineFormatWrapper.formatId" p:forceSessionPersistence="true"
                                p:label="GRADE ROSTER LEVEL" p:required="true" p:finalizeMethodToCall="populateGradeRosterLevelTypes">
                              <property name="control">
                                  <bean parent="Uif-DropdownControl"/>
                              </property>
                          </bean>
                          <bean parent="Uif-InputField-LabelTop" p:propertyName="addLineFormatWrapper.finalExamLevelTypeKey" p:refreshWhenChangedPropertyNames="#dp.addLineFormatWrapper.formatId" p:forceSessionPersistence="true"
                                p:label="FINAL EXAM DRIVER ACTIVITY" p:required="true" p:finalizeMethodToCall="populateFinalExamDriverTypes">
                              <property name="control">
                                  <bean parent="Uif-DropdownControl"/>
                              </property>
                          </bean>

                      </list>
                  </property>
              </bean>
          Priority Major [ 3 ] Critical [ 2 ]
          Assignee Jerry Neal [ jkneal ]
          Jerry Neal (Inactive) made changes -
          Link This issue cloned to KULRICE-8896 [ KULRICE-8896 ]
          Jerry Neal (Inactive) made changes -
          Link This issue cloned to KULRICE-8897 [ KULRICE-8897 ]
          Venkat PremChandran (Inactive) made changes -
          Link This issue discovered by KSENROLL-5065 [ KSENROLL-5065 ]
          Jerry Neal (Inactive) made changes -
          Fix Version/s 2.3.0-m1 [ 16756 ]
          Jerry Neal (Inactive) made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Jessica Coltrin (Inactive) made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Shem Patterson (Inactive) made changes -
          Workflow custom [ 163248 ] Copy of custom for rice [ 215452 ]
          Shem Patterson (Inactive) made changes -
          Workflow Copy of custom for rice [ 215452 ] custom [ 225200 ]
          Shem Patterson (Inactive) made changes -
          Workflow custom [ 225200 ] Rice Workflow [ 234948 ]

            People

            • Assignee:
              Jerry Neal (Inactive)
              Reporter:
              Venkat PremChandran (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Structure Helper Panel