Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#152 SCR problem with array properties

3.1
closed-fixed
Gunnar Ekolin
5
2011-04-30
2011-04-13
Anonymous
No

SCR bundle version 3.0.0 does not return an array for a property when exactly one value is provided in the xml configuration file.

<property name="intArray" type="Integer" />
-> int[] = {}

<property name="intArray" type="Integer">
10
</property>
-> Integer(10)

<property name="intArray" type="Integer">
10
11
</property>
-> int[] = { 10, 11 }

Discussion

  • Gunnar Ekolin
    Gunnar Ekolin
    2011-04-13

    • assigned_to: nobody --> ekolin
     
  • Gunnar Ekolin
    Gunnar Ekolin
    2011-04-13

    Non-array values must only be returned when the value-attribute is used to specify the value(s)

     
  • Gunnar Ekolin
    Gunnar Ekolin
    2011-04-16

    • status: open --> pending-fixed
     
  • This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
    • status: pending-fixed --> closed-fixed