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 2012/01/26 16:39:25 UTC

DO NOT REPLY [Bug 52538] New: xls file causes Protected View error in Excel

https://issues.apache.org/bugzilla/show_bug.cgi?id=52538

             Bug #: 52538
           Summary: xls file causes Protected View error in Excel
           Product: POI
           Version: 3.8-dev
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: d.roe@cyprotex.com
    Classification: Unclassified


Created attachment 28214
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28214
Minimal test file

I have a spreadsheet that opens in Excel fine. If I open it in POI and save it
again, the resulting file causes the error "Protected View - Office has
detected a problem with this file..." when opened in Excel 2010.

It works in POI 3.8 BETA 4 but not in BETA 5. I have bisected SVN and I think
r1187640 "rewrite VariantSupport to use TypedPropertyValue at max without
breaking compatibility" is the revision when it started doing this.

Attached is a minimal test file that exhibits the problem.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 52538] xls file causes Protected View error in Excel

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

Yegor Kozlov <ye...@dinom.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |52385, 52337
         OS/Version|                            |All

--- Comment #1 from Yegor Kozlov <ye...@dinom.ru> 2012-01-26 16:24:48 UTC ---
We know about this regression and working on the fix. See Bug 52385 and Bug
52337.

I linked this bug report to Bugs 52385 and 52337, they all will be resolved in
one go.

Yegor

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 52538] xls file causes Protected View error in Excel

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

Yegor Kozlov <ye...@dinom.ru> changed:

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

--- Comment #2 from Yegor Kozlov <ye...@dinom.ru> 2012-02-15 07:54:39 UTC ---
Should be fixed in r1244388

Regards,
Yegor

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 52538] xls file causes Protected View error in Excel

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

Bug 52538 depends on bug 52337, which changed state.

Bug 52337 Summary: Section.getProperty(PropertyIDMap.PID_HEADINGPAIR) returns truncated byte array
https://issues.apache.org/bugzilla/show_bug.cgi?id=52337

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 52538] xls file causes Protected View error in Excel

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

Bug 52538 depends on bug 52385, which changed state.

Bug 52385 Summary: [REGRESSION] HPSF corrupts output when starting file has unsupported variant props
https://issues.apache.org/bugzilla/show_bug.cgi?id=52385

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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