After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 344950 - Mis-import of marker type from xls
Mis-import of marker type from xls
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Charting
git master
Other All
: Normal normal
: ---
Assigned To: Emmanuel Pacaud
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2006-06-15 06:10 UTC by Frederic Parrenin
Modified: 2008-04-11 23:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fixes the marker issue (520 bytes, patch)
2007-11-16 07:23 UTC, Jean Bréfort
none Details | Review

Description Frederic Parrenin 2006-06-15 06:10:50 UTC
Steps to reproduce the problem:
- open the file here in gnumeric:
http://www-lgge.obs.ujf-grenoble.fr/~parrenin/download/bugs/IGFB23-1.xls
=> the calculations on sheet1 are OK
- now go to sheet2, and change value of cell E1 from 0 to 1
=> a lot of cells in sheet1 now equal 0
- change back the value of E1 from 1 to 0
=> the values of the cells in sheet1 do not go back to their initial value
Comment 1 Morten Welinder 2006-06-15 13:42:55 UTC
Just loading the sheet and hitting F9 to force a recalc makes, e.g., cell
C21 turn to #REF!

The formula there is...

=if(A21<$I$15+1,vlookup($I$15+A21,'Paste raw data here'!$E$1:index('Paste raw data here'!$I$1:$I$999,'Results sheet'!$I$14),2,TRUE),0)

...which suggests a vlookup or index failure.  A21 abd I15 are both integers.
Comment 2 Morten Welinder 2006-06-15 14:06:52 UTC
Interestingly, that expression does not parse.  I get "Constructed ranges
use simple references".

Loading also produces...

Hmm, ptgAttr of type 0 ??
I've seen a case where an instance of this with flag A and another with flag 3
bracket a 1x1 array formula.  please send us this file.
Flags = 0x3
Comment 3 Oliver Burnett-Hall 2007-11-13 22:09:04 UTC
The URL for the spreadsheet showing this problem is no longer working.  Can the original reporter (or anyone else who has a copy) repost it or attach it to this bug?
Comment 4 Frederic Parrenin 2007-11-14 08:52:08 UTC
You can find the file here:

http://parrenin.frederic.free.fr/download/bugzilla/IGFB23-1.xls
Comment 5 Jody Goldberg 2007-11-16 04:01:18 UTC
I am not seeing the issues from comment #1 with svn trunk.
Nor are there substantial differences when toggling E1

However, we are mis-importing the marker shapes in the chart, and stacking them in the wrong order.
Comment 6 Jean Bréfort 2007-11-16 07:23:21 UTC
Created attachment 99193 [details] [review]
fixes the marker issue

The charts have default marker == none. Most probably we need to use auto_shape instead of the current test (marker != none). The patch does not seem to break import of chart-tests-excel.xls
Comment 7 Jean Bréfort 2007-11-18 17:22:59 UTC
Fixed both the marker shapes and stack order.
Comment 8 Jody Goldberg 2007-11-20 14:49:55 UTC
Sounds like we can close this.
Please test with 1.7.90
Comment 9 Jean Bréfort 2007-11-28 12:23:20 UTC
Hmm, seems I forgot to commit part of the fix. Commited now, test should be done with 1.7.91.
Comment 10 Jody Goldberg 2008-03-02 19:14:13 UTC
Can we close this ?
Comment 11 Jean Bréfort 2008-03-02 21:32:24 UTC
As far as I am concerned, yes.