[Bug 61547] New: Custom Properties for a XLSX file are not being saved when using OPCPackage

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 61547] New: Custom Properties for a XLSX file are not being saved when using OPCPackage

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61547

            Bug ID: 61547
           Summary: Custom Properties for a XLSX file are not being saved
                    when using OPCPackage
           Product: POI
           Version: 3.17-FINAL
          Hardware: PC
            Status: NEW
          Severity: major
          Priority: P2
         Component: OPC
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: ---

Created attachment 35341
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35341&action=edit
File for bug replication

I wanted to encrypt an XLSX file with a password while adding some Core
Properties and Custom Properties to it.

To accomplish that I'm using an OPCPackage object and modifying its Properties.
After saving the file, only the Core Properties appear.

I attached the java file I used to replicate this issue.

From what I could investigate, the issue may be related with the save method
from OPCPackage which is not saving the Custom Properties.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 61547] Custom Properties for a XLSX file are not being saved when using OPCPackage

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61547

Dominik Stadler <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 61547] Custom Properties for a XLSX file are not being saved when using OPCPackage

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61547

Dominik Stadler <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Dominik Stadler <[hidden email]> ---
I reproduced this using LibreOffice both with and without encryption, so I
think this is similar to bug 51971, where a patch was proposed a while ago, but
did not make it into the code.

You can help this issue by reviewing and updating the patch to work on the
latest code-base.

*** This bug has been marked as a duplicate of bug 51971 ***

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 61547] Custom Properties for a XLSX file are not being saved when using OPCPackage

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61547

--- Comment #2 from Sérgio Teixeira <[hidden email]> ---
I've made the fix for the 51971. In case you have questions send them through.
I'll try to remember what I did for that fix attempt.

Regards

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]