You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2021/08/11 16:12:00 UTC

[jira] [Updated] (PDFBOX-5257) NumberFormatException in merge if fieldname is "dummyFieldName1#1"

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

Tilman Hausherr updated PDFBOX-5257:
------------------------------------
    Description: 
{code}
nextFieldNum = Math.max(nextFieldNum, Integer.parseInt(fieldName.substring(prefixLength)) + 1);
{code}
needs to be change to take into account that text after "

> NumberFormatException in merge if fieldname is "dummyFieldName1#1"
> ------------------------------------------------------------------
>
>                 Key: PDFBOX-5257
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5257
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.0.24
>            Reporter: Tilman Hausherr
>            Priority: Major
>             Fix For: 2.0.25, 3.0.0 PDFBox
>
>
> {code}
> nextFieldNum = Math.max(nextFieldNum, Integer.parseInt(fieldName.substring(prefixLength)) + 1);
> {code}
> needs to be change to take into account that text after "



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org