You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Adam Nichols (JIRA)" <ji...@apache.org> on 2010/05/01 02:11:56 UTC
[jira] Created: (PDFBOX-717) Bookmarks don't match up to any page
Bookmarks don't match up to any page
------------------------------------
Key: PDFBOX-717
URL: https://issues.apache.org/jira/browse/PDFBOX-717
Project: PDFBox
Issue Type: Bug
Components: PDModel
Environment: Windows Vista 32-bit, Java 1.5.0_06, PDFBox HEAD tag
Reporter: Adam Nichols
Fix For: 1.2.0
Some bookmarks refer to pages which are not in the pageMap (the pageMap holds the object number and generation number for each page in the PDF). This was because the pageMap had the wrong objects. If the catalog had a list of page references, they were handled properly. If it had a list of lists of page references, it was also handled properly, but anything beyond that failed. In my previous testing I didn't come across this case, but I have now and I've confirmed that it works correctly. Unfortunately, I can't provide the PDF which demonstrates the problem before the patch is applied and confirms that the patch solves the problem on account of confidential data in the document.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PDFBOX-717) Bookmarks don't match up to any page
Posted by "Adam Nichols (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Nichols updated PDFBOX-717:
--------------------------------
Attachment: (was: PDFBOX-717_neu.patch)
> Bookmarks don't match up to any page
> ------------------------------------
>
> Key: PDFBOX-717
> URL: https://issues.apache.org/jira/browse/PDFBOX-717
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Environment: Windows Vista 32-bit, Java 1.5.0_06, PDFBox HEAD tag
> Reporter: Adam Nichols
> Fix For: 1.2.0
>
> Attachments: PDFBOX-717_neuere.patch
>
>
> Some bookmarks refer to pages which are not in the pageMap (the pageMap holds the object number and generation number for each page in the PDF). This was because the pageMap had the wrong objects. If the catalog had a list of page references, they were handled properly. If it had a list of lists of page references, it was also handled properly, but anything beyond that failed. In my previous testing I didn't come across this case, but I have now and I've confirmed that it works correctly. Unfortunately, I can't provide the PDF which demonstrates the problem before the patch is applied and confirms that the patch solves the problem on account of confidential data in the document.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (PDFBOX-717) Bookmarks don't match up to any page
Posted by "Andreas Lehmkühler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Lehmkühler resolved PDFBOX-717.
---------------------------------------
Resolution: Fixed
Sounds reasonable. I've added the patch with version 955302.
Thanks to Adam for the contribution
> Bookmarks don't match up to any page
> ------------------------------------
>
> Key: PDFBOX-717
> URL: https://issues.apache.org/jira/browse/PDFBOX-717
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Environment: Windows Vista 32-bit, Java 1.5.0_06, PDFBox HEAD tag
> Reporter: Adam Nichols
> Fix For: 1.2.0
>
> Attachments: PDFBOX-717_neuere.patch
>
>
> Some bookmarks refer to pages which are not in the pageMap (the pageMap holds the object number and generation number for each page in the PDF). This was because the pageMap had the wrong objects. If the catalog had a list of page references, they were handled properly. If it had a list of lists of page references, it was also handled properly, but anything beyond that failed. In my previous testing I didn't come across this case, but I have now and I've confirmed that it works correctly. Unfortunately, I can't provide the PDF which demonstrates the problem before the patch is applied and confirms that the patch solves the problem on account of confidential data in the document.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PDFBOX-717) Bookmarks don't match up to any page
Posted by "Adam Nichols (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Nichols updated PDFBOX-717:
--------------------------------
Attachment: PDFBOX-717_neuere.patch
The newest, most efficient, cleanest, most accurate and just overall best patch for this bug.
> Bookmarks don't match up to any page
> ------------------------------------
>
> Key: PDFBOX-717
> URL: https://issues.apache.org/jira/browse/PDFBOX-717
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Environment: Windows Vista 32-bit, Java 1.5.0_06, PDFBox HEAD tag
> Reporter: Adam Nichols
> Fix For: 1.2.0
>
> Attachments: PDFBOX-717_neuere.patch
>
>
> Some bookmarks refer to pages which are not in the pageMap (the pageMap holds the object number and generation number for each page in the PDF). This was because the pageMap had the wrong objects. If the catalog had a list of page references, they were handled properly. If it had a list of lists of page references, it was also handled properly, but anything beyond that failed. In my previous testing I didn't come across this case, but I have now and I've confirmed that it works correctly. Unfortunately, I can't provide the PDF which demonstrates the problem before the patch is applied and confirms that the patch solves the problem on account of confidential data in the document.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PDFBOX-717) Bookmarks don't match up to any page
Posted by "Adam Nichols (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Nichols updated PDFBOX-717:
--------------------------------
Attachment: PDFBOX-717_neu.patch
In the last patch I missed an if statement for code which apparently was not hit in any of my initial test cases. This patch supersedes PDFBOX-717.patch
> Bookmarks don't match up to any page
> ------------------------------------
>
> Key: PDFBOX-717
> URL: https://issues.apache.org/jira/browse/PDFBOX-717
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Environment: Windows Vista 32-bit, Java 1.5.0_06, PDFBox HEAD tag
> Reporter: Adam Nichols
> Fix For: 1.2.0
>
> Attachments: PDFBOX-717.patch, PDFBOX-717_neu.patch
>
>
> Some bookmarks refer to pages which are not in the pageMap (the pageMap holds the object number and generation number for each page in the PDF). This was because the pageMap had the wrong objects. If the catalog had a list of page references, they were handled properly. If it had a list of lists of page references, it was also handled properly, but anything beyond that failed. In my previous testing I didn't come across this case, but I have now and I've confirmed that it works correctly. Unfortunately, I can't provide the PDF which demonstrates the problem before the patch is applied and confirms that the patch solves the problem on account of confidential data in the document.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PDFBOX-717) Bookmarks don't match up to any page
Posted by "Adam Nichols (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Nichols updated PDFBOX-717:
--------------------------------
Attachment: PDFBOX-717.patch
Patch which fixes this bug.
> Bookmarks don't match up to any page
> ------------------------------------
>
> Key: PDFBOX-717
> URL: https://issues.apache.org/jira/browse/PDFBOX-717
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Environment: Windows Vista 32-bit, Java 1.5.0_06, PDFBox HEAD tag
> Reporter: Adam Nichols
> Fix For: 1.2.0
>
> Attachments: PDFBOX-717.patch
>
>
> Some bookmarks refer to pages which are not in the pageMap (the pageMap holds the object number and generation number for each page in the PDF). This was because the pageMap had the wrong objects. If the catalog had a list of page references, they were handled properly. If it had a list of lists of page references, it was also handled properly, but anything beyond that failed. In my previous testing I didn't come across this case, but I have now and I've confirmed that it works correctly. Unfortunately, I can't provide the PDF which demonstrates the problem before the patch is applied and confirms that the patch solves the problem on account of confidential data in the document.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PDFBOX-717) Bookmarks don't match up to any page
Posted by "Adam Nichols (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Nichols updated PDFBOX-717:
--------------------------------
Attachment: (was: PDFBOX-717.patch)
> Bookmarks don't match up to any page
> ------------------------------------
>
> Key: PDFBOX-717
> URL: https://issues.apache.org/jira/browse/PDFBOX-717
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Environment: Windows Vista 32-bit, Java 1.5.0_06, PDFBox HEAD tag
> Reporter: Adam Nichols
> Fix For: 1.2.0
>
> Attachments: PDFBOX-717_neuere.patch
>
>
> Some bookmarks refer to pages which are not in the pageMap (the pageMap holds the object number and generation number for each page in the PDF). This was because the pageMap had the wrong objects. If the catalog had a list of page references, they were handled properly. If it had a list of lists of page references, it was also handled properly, but anything beyond that failed. In my previous testing I didn't come across this case, but I have now and I've confirmed that it works correctly. Unfortunately, I can't provide the PDF which demonstrates the problem before the patch is applied and confirms that the patch solves the problem on account of confidential data in the document.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.