#152 SCR problem with array properties

3.1
closed-fixed
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
     
  • SourceForge Robot

    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).

     
  • SourceForge Robot

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

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks