Details
-
Type:
Bug Fix
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: None
-
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#@
_@
{#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_@
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
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 2.3 [ 16595 ] | |
Fix Version/s | 2.3.0-m2 [ 16757 ] |
Fix Version/s | 2.3.0-m3 [ 16758 ] | |
Fix Version/s | 2.3.0-m2 [ 16757 ] |
Priority | Major [ 3 ] | Critical [ 2 ] |
Application Requirement | KS My Plan [ 14190 ] | KS,KS My Plan [ 10876, 14190 ] |
Fix Version/s | 2.3.0-m3 [ 16758 ] |
Documentation Review Status | Pending Review [ 14643 ] | Not Required [ 14642 ] |
Assignee | Jerry Neal [ jkneal ] |
Fix Version/s | 2.3.0-rc1 [ 17047 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Workflow | custom [ 196763 ] | Copy of custom for rice [ 215716 ] |
Workflow | Copy of custom for rice [ 215716 ] | custom [ 225464 ] |
Workflow | custom [ 225464 ] | Rice Workflow [ 235212 ] |