ICEpdf
  1. ICEpdf
  2. PDF-996

Save As functionality not working for secure PDF file

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.1.1
    • Fix Version/s: 6.1.2
    • Component/s: API, Viewer RI
    • Labels:
      None
    • Environment:
      All

      Description

      With the provided PDF file, it is not possible to use the Save As functionality. When attempting this an error message is displayed that states "You do not have permission or the credentials to save this document"

      The same functionality works when done in Adobe. The PDF security settings should allow this to happen.

        Activity

        Arran Mccullough created issue -
        Hide
        Patrick Corless added a comment -

        This looks to be a legitimate concern. The PDF is indeed encrypted and has specific permissions that specify it can't be modified. We incorrectly interpret this a disable save as. The annotation tools are disabled and thus the PDF can't be modified.

        Anyways we can address this in the next release.

        Show
        Patrick Corless added a comment - This looks to be a legitimate concern. The PDF is indeed encrypted and has specific permissions that specify it can't be modified. We incorrectly interpret this a disable save as. The annotation tools are disabled and thus the PDF can't be modified. Anyways we can address this in the next release.
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s 6.1.2 [ 13070 ]
        Hide
        Patrick Corless added a comment -

        Updated save as code to do a "save as" if not modification have been made to the PDF as is the case when the no modifications has been set for permissions. If the user doesn't have the pro version a dialog will still be presented saying they can't save the changes.

        Show
        Patrick Corless added a comment - Updated save as code to do a "save as" if not modification have been made to the PDF as is the case when the no modifications has been set for permissions. If the user doesn't have the pro version a dialog will still be presented saying they can't save the changes.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48877 Thu Jun 02 09:18:56 MDT 2016 patrick.corless PDF-996 fixed issue with save as not working when a document has ready only permissions.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/SwingController.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49480 Tue Nov 08 09:51:42 MST 2016 patrick.corless PDF-996 fixed issue with save as not working when a document has ready only permissions.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingController.java
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: