Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Beta2
-
Fix Version/s: 2.0.0
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ACE Generator
Description
If a property in the component meta class had a type of Object, and the developer tried to create a defaultValue, the generated code in the getter would look like:
Object returnVal = a default value;
Where 'a default value' is a string in the meta file. This wont compile. The existing code looks for Strings and if the property is a string, wraps the default value in quotes. This needs to be extended to include Object case .
Object returnVal = a default value;
Where 'a default value' is a string in the meta file. This wont compile. The existing code looks for Strings and if the property is a string, wraps the default value in quotes. This needs to be extended to include Object case .
Activity
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23417 | Thu Dec 09 12:03:07 MST 2010 | greg.dick | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/ace/generator/src/org/icefaces/generator/artifacts/ComponentArtifact.java
|
Greg Dick
created issue -
Greg Dick
made changes -
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | Resolved [ 5 ] |
Fix Version/s | 2.0.0 [ 10230 ] | |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
I've checked in a fix for this issue