Bug 124842 - FORMATTING: ParaStyleName of ParagraphProperties not returning string when 'Next style' option is used
Summary: FORMATTING: ParaStyleName of ParagraphProperties not returning string when 'N...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.6.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 160405 (view as bug list)
Depends on:
Blocks: Writer-Styles-Paragraph
  Show dependency treegraph
 
Reported: 2019-04-19 10:49 UTC by sofietb
Modified: 2024-03-28 15:54 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
Repro file for 124842 (17.12 KB, application/vnd.oasis.opendocument.text)
2021-03-08 14:46 UTC, Walter Knowles
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sofietb 2019-04-19 10:49:14 UTC
Description:
ParaStyleName not returning a string if 'Next style' is set in style properties to anything other than the style itself.

https://forums.zotero.org/discussion/comment/314235/#Comment_314235

Steps to Reproduce:
1.Set a style with 'Next style' to anything but itself.
2.Install Zotero and follow these steps:
https://forums.zotero.org/discussion/76999/report-id-414297287-issue-libreoffice-style-if-next-style-is-set#latest

Actual Results:
Zotero producing an error, mentioned by the Zotero devs as being caused by ParaStyleName returning the wrong datatype: https://forums.zotero.org/discussion/comment/314235/#Comment_314235

Expected Results:
Zotero inserting the citation/ParaStyleName returning a string.


Reproducible: Always


User Profile Reset: No



Additional Info:
https://api.libreoffice.org/docs/idl/ref/servicecom_1_1sun_1_1star_1_1style_1_1ParagraphProperties.html#aeac9fbec555fddbf8219c8ea94ae7bd2
Comment 1 Jean-Baptiste Faure 2019-04-21 19:35:51 UTC
set version to 6.0.6 from zotero discussion.

Best regards. JBF
Comment 2 Xisco Faulí 2019-07-09 14:23:22 UTC
Thank you for reporting the bug.
it seems you're using an old version of LibreOffice.
Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
Comment 3 QA Administrators 2020-01-06 03:26:49 UTC Comment hidden (obsolete)
Comment 4 Adomas Venčkauskas 2020-01-14 19:11:10 UTC
The bug is still present in LibreOffice 6.3.4
Comment 5 Dieter 2020-02-27 19:38:56 UTC
(In reply to Adomas Venčkauskas from comment #4)
> The bug is still present in LibreOffice 6.3.4

=> NEW because of comment 4
Comment 6 Clarc 2020-07-22 15:53:23 UTC
(In reply to Adomas Venčkauskas from comment #4)
> The bug is still present in LibreOffice 6.3.4

It still is in version: 6.4.5.2.
(See https://forums.zotero.org/discussion/comment/360891)
Comment 7 Walter Knowles 2021-03-08 14:46:48 UTC
Created attachment 170336 [details]
Repro file for 124842

Switch Zotero style to CMS 17 Author-date to create problem.

Change "Footnote" style from next style "Footnote continued" to "Footnote" and the problem goes away.

Note: there are other next style in this style sheet, and the error is not propagated from them, even when they are in a footnote.
Comment 8 Daniel T. 2022-01-20 09:36:44 UTC Comment hidden (obsolete)
Comment 9 Daniel T. 2022-01-20 09:37:10 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2024-01-21 03:13:55 UTC Comment hidden (obsolete)
Comment 11 Adomas Venčkauskas 2024-01-22 08:05:36 UTC
The bug persists. Tested with

Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 12 Stéphane Guillou (stragu) 2024-03-28 15:52:42 UTC
*** Bug 160405 has been marked as a duplicate of this bug. ***