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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13934987#comment-13934987 ] 

Gareth Carter commented on OFBIZ-5533:
--------------------------------------

fixed in https://issues.apache.org/jira/browse/OFBIZ-5574

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