ICEfaces
  1. ICEfaces
  2. ICE-6360

ACE Generator code isn't handling Object properties with defaultValues correctly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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 .

        Activity

        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 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Greg Dick
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: