You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2014/03/14 15:40:42 UTC

[jira] [Reopened] (OFBIZ-5533) ModelForm.getOverrideListSize fails to convert to integer when value > 1000

     [ https://issues.apache.org/jira/browse/OFBIZ-5533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux reopened OFBIZ-5533:
------------------------------------


> ModelForm.getOverrideListSize fails to convert to integer when value > 1000
> ---------------------------------------------------------------------------
>
>                 Key: OFBIZ-5533
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5533
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: SVN trunk
>            Reporter: Gareth Carter
>            Priority: Minor
>             Fix For: SVN trunk
>
>
> The getOverrideListSize uses FlexibleStringExpander to get the list size but depending on the object type will depend on the value returned and how big the number value is
> e.g
> override-list-size="${listSize}"
> when listSize is a number and more than 1000, the returned value is 1,000
> when listSize is a string and more than 1000, it returns 1000.
> Looking at NumberConverters, it always uses NumberFormat. For this scenario, you do need to format the number



--
This message was sent by Atlassian JIRA
(v6.2#6252)