Bug 40466

Summary: Chart objects fail to get imported
Product: LibreOffice Reporter: Regina Henschel <rb.henschel>
Component: CalcAssignee: Kohei Yoshida <kohei>
Status: RESOLVED FIXED    
Severity: major CC: LibreOffice
Priority: medium Keywords: regression
Version: Master old -3.6   
Hardware: x86 (IA32)   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 34431, 37361    
Attachments: File contains a chart

Description Regina Henschel 2011-08-29 11:56:14 UTC
Created attachment 50666 [details]
File contains a chart

Open the attached file with "master~2011-08-26_22.11.34_LibO-Dev_OOO350m1_Win_x86" It crashes during opening.
Comment 1 Regina Henschel 2011-08-29 12:04:31 UTC
It crashes too, if I remove the picture and/or the chart. The file has been created with Excel 2010.
Comment 2 Regina Henschel 2011-08-30 14:06:07 UTC
LO3.5 "daily" crashes too, when you try to save to xlsx format, both with filter "Excel 2010 XML" and "Office Open XML".
Comment 3 Kohei Yoshida 2011-08-31 14:15:35 UTC
Confirmed.  On Linux it doesn't crash, but no chart objects get imported, at all, from xlsx.
Comment 4 Kohei Yoshida 2011-08-31 14:18:42 UTC
Muthu, on master the chart import is totally broken.  Do you have any idea what's going on there?
Comment 5 Kohei Yoshida 2011-08-31 19:14:49 UTC
Well, at least I figured out the cause of the crash.  It's a mis-match of the number of namespaceIds and namespaceURIs in the namespaceIds struct (xmlfilterbase.cxx in oox).  I'll fix this shortly.

But still the chart object import problem is there...
Comment 7 Rainer Bielefeld Retired 2011-08-31 22:33:58 UTC
[Reproducible] with sample document and Server installation of Master "LibO-dev 3.5.0 – WIN7 Home Premium (64bit) English UI [(Build ID: a6adae1-4eb4f62-09af278)]", cash when Open document.

@Kohei:
Can we close this one as fixed?
Does the (Linux?) chart import problem still exist?
Can you please check whether the fix also fixes "Bug 40536 - FILESAVE as xlsx crashes"?
Comment 8 Kohei Yoshida 2011-08-31 22:40:38 UTC
Actually I'll take a look at this.
Comment 9 Kohei Yoshida 2011-08-31 22:43:44 UTC
@Rainer, yes the chart import problem still exists (I assume) on all platforms.
Comment 10 Kohei Yoshida 2011-09-01 23:07:39 UTC
Fixed it, after two days of agony.

http://cgit.freedesktop.org/libreoffice/core/commit/?id=d178d7bef193565a7d6aacbc37a58dfc4bd7b316
Comment 11 Björn Michaelsen 2011-12-23 13:25:11 UTC
Since all new unconfirmed bugs start in state UNCONFIRMED now and old unconfirmed bugs were moved to NEEDINFO with a explanatory comment, all bugs promoted above those bug states to NEW and later are automatically confirmed making the CONFIRMED whiteboard status redundant. Thus it will be removed.