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 Bug Fix
    • Status: Closed Closed
    • Priority: Critical 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
    • Similar issues:
      KULRICE-7384Problem with reloading dictionary and expression factory
      KULRICE-12638Binding path for PrerequisiteConstraints defined in data dictionary wrong on reload
      KULRICE-10047CollectionGroup.readOnly=true is not respected after data dictionary reload
      KULRICE-1939No longer possible to use KualiModule to load Data Dictionary modules after initial Data Dictionary startup
      KULRICE-11142Reloading Data Dictionary Error:(13,1 ) you tried to assign a value to the class 'config'. Do you have a script with this name?
      KULRICE-5488Conditional properties using @{} syntax cause views to blow up when ReloadingDataDictionary reloads a view
      KULRICE-13059Data Dictionary labels missing
      KULRICE-6399Make configuring the reloading data dictionary easier for client app developers
      KULRICE-9315Breadcrumb Link incorrectly inheriting fieds as request params after page change
      KULRICE-6651property "layoutManager.applyDefaultCellWidths" fails in Uif-GridGroup (and maybe others)
    • 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;">
      ');
      "/>...

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Structure Helper Panel