Bug 152732 - createDiagramByDataSource disappears
Summary: createDiagramByDataSource disappears
Status: RESOLVED DUPLICATE of bug 151846
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
7.4.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2022-12-30 08:33 UTC by Dorange-Pattoret Didier
Modified: 2022-12-30 12:01 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
A file for test (147.88 KB, application/vnd.oasis.opendocument.text)
2022-12-30 08:35 UTC, Dorange-Pattoret Didier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dorange-Pattoret Didier 2022-12-30 08:33:55 UTC
Description:
I tried to create a curve with the joigned file.
I get an error at line 74 : diagram = modele.createDiagramByDataSource(datasource,args2)
It seems to be a regression : it works fine with OpenOffice 4.1.13 and LibreOffice 6.2

Steps to Reproduce:
1.Open the graphique.odt file
2.Clic on "Générer le graphique"
3.

Actual Results:
I get a crash at line 74.

Expected Results:
The curve will be build.


Reproducible: Always


User Profile Reset: No

Additional Info:
Build the curve.
Comment 1 Dorange-Pattoret Didier 2022-12-30 08:35:00 UTC
Created attachment 184393 [details]
A file for test
Comment 2 Xisco Faulí 2022-12-30 09:11:10 UTC
it started to crash after

author	Noel Grandin <noelgrandin@gmail.com>	2022-01-21 18:43:59 +0200
committer	Noel Grandin <noel.grandin@collabora.co.uk>	2022-01-22 08:17:54 +0100
commit 98f360b261d7b36fa63b10fadb86cf6f381cbd36 (patch)
tree a30f8bb8a5d3f9dbbf71b58642689e2b5617672d
parent 571438a34ad9aba0d496a89e8345851331740fbd (diff)
use more concrete types in chart2, BaseCoordinateSystem

Bisected with: bibisect-linux64-7.4

Adding Cc: to Noel Grandin
Comment 3 Xisco Faulí 2022-12-30 09:15:30 UTC
Later, the crash was fixed with

author	Caolán McNamara <caolanm@redhat.com>	2022-01-28 20:09:27 +0000
committer	Caolán McNamara <caolanm@redhat.com>	2022-01-29 11:43:02 +0100
commit 59dc59bb6e50d6d42d9fd6b82a165069d6e4bdbf (patch)
tree 861007c384a54395193612bfe580e2e2c893e9f0
parent 241641afe92fe525e45eb3b6d30f1a0f737d825c (diff)
crashtesting: failure on import of ooo64618-1.ods

but the method "createDiagramByDataSource" is no longer found
Comment 4 Mike Kaganski 2022-12-30 11:18:25 UTC
Works fine using Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 8d276de3b8805a51e3f4a5dacd8b65182260f83a
CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL threaded
Comment 5 Xisco Faulí 2022-12-30 12:01:41 UTC
(In reply to Mike Kaganski from comment #4)
> Works fine using Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
> Build ID: 8d276de3b8805a51e3f4a5dacd8b65182260f83a
> CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL:
> win
> Locale: ru-RU (ru_RU); UI: en-US
> Calc: CL threaded

Indeed!

issue fixed by

author	Noel Grandin <noel.grandin@collabora.co.uk>	2022-11-18 10:58:28 +0200
committer	Noel Grandin <noel.grandin@collabora.co.uk>	2022-11-19 15:50:48 +0100
commit ec6502a1f61fcbd4bf05b62f172650fe442c3a1d (patch)
tree 383be2227aa9d6dd0bef8577bf478b3af3e33767
parent a38bb773bb568ef942293f23d0701da933817e8f (diff)
tdf#151846 Restore XChartTypeTemplate

Closing as RESOLVED DUPLICATED

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