wanjidong / jmesa

Automatically exported from code.google.com/p/jmesa
0 stars 0 forks source link

LimitUtils returns String.valueOf(value) if size of the array/list is large than 1 #214

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
According to the JavaDoc the value in the first position will be used, but
this only happens when the array/list contains exactly 1 item. This causes
problems when multiple values for the same filter are posted to the
TableFacade. The Filter now contains a String.valueOf(String[]), but I
would expect the first value of the Array to be used. I cannot oversee the
consequences of changing this behaviour, but I did attach a patch for the
change.

Original issue reported on code.google.com by sand...@gmail.com on 4 Sep 2009 at 9:56

Attachments:

GoogleCodeExporter commented 8 years ago
Sorry for the slow reply...I was out for a few days. 

Thanks a lot! I will take a look at this patch this week.

Original comment by jeff.johnston.mn@gmail.com on 8 Sep 2009 at 10:55

GoogleCodeExporter commented 8 years ago
Good catch! I am surprised that this has not come up before. The change is 
checked
into the trunk.

Original comment by jeff.johnston.mn@gmail.com on 16 Sep 2009 at 12:52

GoogleCodeExporter commented 8 years ago

Original comment by jeff.johnston.mn@gmail.com on 16 Sep 2009 at 12:53