Uploaded image for project: 'Kuali Rice Development'
  1. Kuali Rice Development
  2. KULRICE-9326

After reload of dictionary onDocumentReadyScript property fails to overwrite inherited value

    Details

    • Type: Bug Fix
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0-rc1, 2.3
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Rice Module:
      KRAD
    • KRAD Feature Area:
      Data Dictionary
    • Application Requirement:
      KS, KS My Plan
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Include in Release Notes?:
      Yes

      Description

      I have run into a recent issue reloading the dictionary. I reuse a table collection that has very similar properties on different views (example code below, first being the original, second inherits the first). Whenever I reload my dictionary, the onDocumentReadyScript property's value from the inherited bean is equal to the original's value, which causes a stacktrace because the expressions fail.

      <bean id="course_details_activity_data" parent="Uif-TableCollectionSection">
      <property name="collectionObjectClass" value="org.kuali.student.myplan.course.dataobject.ActivityOfferingItem"/>
      <property name="propertyName" value="activityOfferingItemList"/>
      <property name="onDocumentReadyScript" value="
      var tableHead = jQuery('table#@

      {dataObject.courseSummaryDetails.courseId}

      _@

      {#line.instituteCode}

      _@

      {#line.yearTerm.toATP().replace('.','-')}

      thead');
      tableHead.find('tr:gt(0)').remove();
      tableHead.before('
      <col style="width: 62px;">
      <col style="width: 103px;">
      <col style="width: 263px;">
      <col style="width: 57px;">
      <col style="width: 105px;">
      <col style="width: 73px;">
      <col style="width: 45px;">
      ');
      "/>...

      <bean id="single_AcademicRecord_Collection_Open" parent="course_details_activity_data">
      <property name="collectionObjectClass"
      value="org.kuali.student.myplan.plan.dataobject.AcademicRecordDataObject"/>
      <property name="propertyName" value="academicRecord"/>
      <property name="onDocumentReadyScript" value="
      var tableHead = jQuery('table#academicRecord_@

      {dataObject.atpId.replace('.','-')}

      thead');
      tableHead.find('tr:gt(0)').remove();
      tableHead.before('
      <col style="width: 24px;">
      <col style="width: 137px;">
      <col style="width: 69px;">
      <col style="width: 170px;">
      <col style="width: 93px;">
      <col style="width: 56px;">
      <col style="width: 79px;">
      ');
      "/>...

        Attachments

          Activity

          garettg Garett Gowens created issue -
          jkneal Jerry Neal (Inactive) made changes -
          Field Original Value New Value
          Fix Version/s 2.3 [ 16595 ]
          Fix Version/s 2.3.0-m2 [ 16757 ]
          jcoltrin Jessica Coltrin (Inactive) made changes -
          Fix Version/s 2.3.0-m3 [ 16758 ]
          Fix Version/s 2.3.0-m2 [ 16757 ]
          lsymms Larry Symms made changes -
          Priority Major [ 3 ] Critical [ 2 ]
          lsymms Larry Symms made changes -
          Application Requirement KS My Plan [ 14190 ] KS,KS My Plan [ 10876, 14190 ]
          jcoltrin Jessica Coltrin (Inactive) made changes -
          Fix Version/s 2.3.0-m3 [ 16758 ]
          masargen Matt Sargent made changes -
          Documentation Review Status Pending Review [ 14643 ] Not Required [ 14642 ]
          jcoltrin Jessica Coltrin (Inactive) made changes -
          Assignee Jerry Neal [ jkneal ]
          jkneal Jerry Neal (Inactive) made changes -
          Fix Version/s 2.3.0-rc1 [ 17047 ]
          jkneal Jerry Neal (Inactive) made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          jkneal Jerry Neal (Inactive) made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          jcoltrin Jessica Coltrin (Inactive) made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          spatterson Shem Patterson (Inactive) made changes -
          Workflow custom [ 196763 ] Copy of custom for rice [ 215716 ]
          spatterson Shem Patterson (Inactive) made changes -
          Workflow Copy of custom for rice [ 215716 ] custom [ 225464 ]
          spatterson Shem Patterson (Inactive) made changes -
          Workflow custom [ 225464 ] Rice Workflow [ 235212 ]

            People

            • Assignee:
              jkneal Jerry Neal (Inactive)
              Reporter:
              garettg Garett Gowens
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: