Gareth Carter created OFBIZ-5533:
------------------------------------

             Summary: 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.1.5#6160)

Reply via email to