https://bz.apache.org/bugzilla/show_bug.cgi?id=61562

            Bug ID: 61562
           Summary: [POI][Custom Properties][DOC] Office Warning
                    validation when we add custom properties to ".doc"
                    files
           Product: POI
           Version: 3.15-FINAL
          Hardware: PC
            Status: NEW
          Severity: regression
          Priority: P2
         Component: POIFS
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 35373
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35373&action=edit
Information indicated in Bug Description

Hello,

When addwe add custom properties to a Microsoft Office Word 97 - 2003 document
with POI, it works fine. But when we try to open Word document with Office
2007, a warning about Office file validation appears.

If we click on "Open", we can see our custom properties added.

Is there a way to modify code to avoid this message when we open the file in
Office ?

We reproduce the issue with POI 3.15, 3.16 and 3.17.

Currently, we use POI 3.10 and we don't have this issue but we need to upgrade
POI to resolve other issues in our application.

Also, we passed Office validation tool (BFFValidator) and we have the following
results :
- Before modify custom properties, file passed in validator
- After modify custom properties, file failed in validator.

As attachment, you can find in ZIP file :
- Code that we use to reproduce the issue : PbWarningValidationOffice.java
- The original file : beforePOI.doc
- The file modified with custom properties : afterPOI.doc
- XML File returned by Office validation tool when the validation failed :
afterPOI.doc.bffvalidator.09-25-17_15-54-22.xml
- Warning when we open file modified in Office : WarningOfficeValidation.jpg

Thanks you for your help.

Best Regards,
Jonathan TRICHEREAU.

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

Reply via email to