You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2017/09/20 12:17:26 UTC

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

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: dev@poi.apache.org
          Reporter: oracle15@live.com.pt
  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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


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

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61547

Dominik Stadler <do...@gmx.at> changed:

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


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

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61547

Dominik Stadler <do...@gmx.at> changed:

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

--- Comment #1 from Dominik Stadler <do...@gmx.at> ---
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


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

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61547

--- Comment #2 from Sérgio Teixeira <se...@gmail.com> ---
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org