[KULRICE-8711] Default value property of DataField should have type of Object Created: 28/Dec/12 Updated: 21/Apr/14 Resolved: 06/Jan/14 |
|
Status: | Closed |
Project: | Kuali Rice Development |
Component/s: | Development |
Affects Version/s: | None |
Fix Version/s: | 2.4 |
Security Level: | Public (Public: Anyone can view) |
Type: | Bug Fix | Priority: | Major |
Reporter: | Jerry Neal (Inactive) | Assignee: | Daniel Seibert (Inactive) |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | 0 minutes | ||
Time Spent: | 1 day | ||
Original Estimate: | Not Specified |
Issue Links: |
|
||||||||||||
Rice Module: |
KRAD
|
||||||||||||
KAI Review Status: | Not Required | ||||||||||||
KTI Review Status: | Not Required | ||||||||||||
Include in Release Notes?: |
Yes
|
Description |
Currently the defaultValue property of DataField is type String. This prevents setting default values for properties other than string (like Date) through expressions. The type should be changed to Object |
Comments |
Comment by Daniel Seibert (Inactive) [ 31/Dec/13 ] |
My 2 cents after looking attempting to set a defaultValue for a date: I see two quick, easy solutions: 2. In ObjectPropertyReference.setPropertyValue(), add logic to handle dates with UifDateEditor in addition to the primitive types. |
Comment by Daniel Seibert (Inactive) [ 31/Dec/13 ] |
On changing type of defaultValue property from String to Object: |