https://issues.apache.org/ooo/show_bug.cgi?id=118840
--- Comment #33 from Armin Le Grand <[email protected]> --- ALG: CHecked again, the only case where the error occurrs is when Calc is the source of the chart. It works when copying to the same calc document. It works copying to other tabs in the same document. It works when initially rename the sheet (before chart creation). It works when renaming the sheet after chart creation. It works when using 'Sheet2' or another existing one from a new calc document. It does not work when first renaming the sheet, creating chart (copying this works) and renaming back to 'Sheet1'. It does not work when renaming Sheet1 to Sheetx, Sheet2 to Sheet1, creating chart on formal Sheet2. There must be some special handling for 'Sheet1'. The most probable scenario is the way of copy/paste is done: A new temporary calc model (TCM) is created and the to-be-copied data is cloned to it. In that TCM the 1st sheet is named Sheet1 (and there is no way to change that). When cloning the chart the test if source and target sheet is the same seems to compare the name which when in source and target is Sheet1 will not clone the chart data since it implies same sheets and thus already existing chart data (DataProvider). Thus, I will now debug for the part where the chart is cloned to the new temporary model... -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.
