Bug 107276 - renaming sheet causes chart data ranges referencing sheet to change to Data Table - unrecoverable
Summary: renaming sheet causes chart data ranges referencing sheet to change to Data T...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.2.4.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Chart-Data
  Show dependency treegraph
 
Reported: 2017-04-19 19:43 UTC by Rich
Modified: 2018-05-30 16:48 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
see comment (1.14 MB, application/vnd.oasis.opendocument.spreadsheet)
2017-04-20 00:05 UTC, Rich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rich 2017-04-19 19:43:45 UTC
Description:
I have a calc file with 6 sheets. Renaming a sheet causes any chart that references that sheet to change from option of Data Ranges to Data Table. There is no way to recover other than recreate the chart. I rebuilt my charts, verified I have Data Ranges and made a copy for backup. Then renamed one sheet and looked at charts and problem reappeared. This worked in January 2016 with a previous version of LibreOffice.

Steps to Reproduce:
1.Rename a sheet
2.select a chart
3.right click to display menu, last item has changed from Data Ranges to Data Chart

Actual Results:  
renaming the sheet the data that references the renamed sheet is changed correctly to reference the new name, only the chart is changed.

Expected Results:
I would expect the chart to still show Data Ranges.


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Comment 1 m_a_riosv 2017-04-19 21:43:21 UTC
I can't reproduce.
Version: 5.2.6.2
Build ID: a3100ed2409ebf1c212f5048fbe377c281438fdc
CPU Threads: 4; OS Version: Windows 6.2; UI Render: GL; 
Locale: es-ES (es_ES); Calc: group

Version: 5.3.2.2 (x64)
Build ID: 6cd4f1ef626f15116896b1d8e1398b56da0d0ee1
CPU Threads: 4; OS Version: Windows 6.19; UI Render: GL; Layout Engine: new; 
Locale: es-ES (es_ES); Calc: group

Version: 5.4.0.0.alpha0+
Build ID: 2f5baab8498ce1303dded8aa7e16adbf80341c39
CPU threads: 4; OS: Windows 6.19; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-04-17_23:43:54
Locale: es-ES (es_ES); Calc: CL

Please could you attache a sample file where to reproduce the issue.
Comment 2 Rich 2017-04-20 00:05:42 UTC
Created attachment 132704 [details]
see comment

This is not as striat forward as I first thought. In the file I am attaching, renaming the first sheet or the second sheet doesn't seem to cause a problem. Both seem to need renamed and then not all charts that I expect would chage do not. Seems like a different one each time.
Not all charts on the following file have been redone yet. 
This is the actual file: "Fund & Sector Comparison 2017.ods"
There are four charts to look at that I rebuilt. They were all altered with the initial failure along with others. Yet in recreating the problem, they all do not fail, and a differnt one each time. I am having difficulty isolating a specific sequence that causes the same chart to fail each time.
The charts to look at to varify they are correct before renaming the sheets are: On the second sheet named "Fund Comparison 2016", two charts. On the far right below the data entry is "YTD Comparison 2017-1" "Primary Funds & Indexes" below that chart is a chart titled "YTD Comparison 2017-1" "Secondary Funds & Indexes"
The other two charts are on the sheet named "YTD Comparison" On the right is a Chart titled "Year to Date Comparison 2017-1" "Primary Funds, Indexes & Sectors". Below it is a chart titled "Year to Date Comparison 2017-1" "Secondary Funds, Indexes & Sectors"
With all four charts select the chart and right click to see menu. You shoud see "Data Ranges"
Then change the names on the first two sheets from "Sector Tracter 2016" and "Fund Comparison 2016" to  "Sector Tracter 2017" and "Fund Comparison 2017"
Now reselect the four charts above to see if they all show "Data Ranges" or if one or more has changed to "Data Table"
If you don't see something easily, I am thinking that instead of repairing the charts in this file I may go to my January backup or create a new file copying only the data and reenter forulas and charts. There may be some residual problem from my initial failure that I am not seeing.
Comment 3 TBeholder 2017-10-21 01:15:39 UTC
Does this happen with a formula (on another page) or only chart?
There still seem to be some weird bugs related to sheet references, but mine is not repeatable.
Comment 4 QA Administrators 2018-05-02 15:47:40 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2018-05-30 16:48:56 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-20180530