Bug 50956 - Cloning cell style to cell of another workbook crashes Excel file
Summary: Cloning cell style to cell of another workbook crashes Excel file
Status: RESOLVED DUPLICATE of bug 56295
Alias: None
Product: POI
Classification: Unclassified
Component: XSSF (show other bugs)
Version: 3.7-FINAL
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-22 14:00 UTC by andrei
Modified: 2015-03-18 20:28 UTC (History)
1 user (show)



Attachments
Unit Test (17.54 KB, application/zip)
2011-03-22 14:00 UTC, andrei
Details

Note You need to log in before you can comment on or make changes to this bug.
Description andrei 2011-03-22 14:00:21 UTC
Created attachment 26790 [details]
Unit Test

See unit test in attachment please
Comment 1 Kir Repnikov 2011-04-21 08:45:44 UTC
Was reproduced for Win XP & Linux.
Comment 2 Nick Burch 2011-04-21 09:23:16 UTC
Hmm, I've tried it, and I don't see any crashes, but the style isn't showing up in the new file either

I did notice an issue with the cloned styles not being persisted quite right, which I think I've fixed in r1095695. Does that fix things for you?
Comment 3 Kir Repnikov 2011-05-23 11:40:06 UTC
> Hmm, I've tried it, and I don't see any crashes

In Office 2007 I've seen message about corrupting styles.xml and suggestion to fix/restore it, when I open generated xlsx.

I'll check r1095695.
Comment 4 Dominik Stadler 2015-03-18 20:28:43 UTC
There have been fixes done in bug 56295 that likely also fix this bug. Therefore I am marking this as duplicate, please try with a recent trunk build and reopen this bug if it still does not work for you.

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