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:28:42 UTC
[jira] [Commented] (OFBIZ-5574) Paginate in screen fails
[ https://issues.apache.org/jira/browse/OFBIZ-5574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13934989#comment-13934989 ]
Gareth Carter commented on OFBIZ-5574:
--------------------------------------
Although this has fixed the issue in one place, I do know there are many other places where FlexibleStringExpander is used and then converted to an integer using Integer.parseInt which may fail if the value return from expandString was converted to a String from a Number object and is more than 1000. I do not know how many instances there are but would it worth creating a new Jira to resolve this?
> Paginate in screen fails
> ------------------------
>
> Key: OFBIZ-5574
> URL: https://issues.apache.org/jira/browse/OFBIZ-5574
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: SVN trunk
> Reporter: simon maskell
> Assignee: Jacques Le Roux
> Priority: Minor
> Fix For: Release Branch 11.04, SVN trunk, Release Branch 12.04, Release Branch 13.07
>
> Attachments: ModelForm.java.patch
>
>
> When you use the paginate = true in a screen and the total number of rows returned is greater than 999 the string is formatted with a coma and an exception is thrown when trying to convert it to an Integer.
--
This message was sent by Atlassian JIRA
(v6.2#6252)