Description: Save As ODT loses the xml:id attribute of text:list elements in the content.xml. The issue occurs with ODT and DOCX files. This issue does not occur in LO7.3.4.2 and below. Steps to Reproduce: 1. Create a new odt with at least 2 lists (example attached) 2. Save and Close 3. Reopen File and Save As odt with a new name 4. View/Diff the content.xml to see the missing xml:id attribute Actual Results: xml:id attribute is missing in exported file. Expected Results: Files should be identical. Reproducible: Always User Profile Reset: Yes OpenGL enabled: Yes Additional Info: Version: 7.4.0.0.beta1 (x64) / LibreOffice Community Build ID: cec1fe9b57a55c032f9f118c907f34e22a63d040 CPU threads: 16; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win Locale: en-AU (en_AU); UI: en-GB Calc: CL
Created attachment 181026 [details] Original Example File
Created attachment 181027 [details] Example File after Export
Created attachment 181028 [details] Diff results
This is somewhat intentional: if the list has an xml:id="..." but nobody refers to that ID, then we omit it, so the output is easier to check into expected test results or into e.g. git. If there is a later continue-list="..." that refers to an ID and we don't emit the xml:id="..." for that, that's a bug. Bug 149668 was for this. Are you aware of any cases where that xml:id is referenced, but we don't write it? Thanks.
(In reply to Miklos Vajna from comment #4) > This is somewhat intentional: if the list has an xml:id="..." but nobody > refers to that ID, then we omit it, so the output is easier to check into > expected test results or into e.g. git. > > If there is a later continue-list="..." that refers to an ID and we don't > emit the xml:id="..." for that, that's a bug. Bug 149668 was for this. > > Are you aware of any cases where that xml:id is referenced, but we don't > write it? NEEDINFO while we wait for a reply.
Dear Michelle, This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INSUFFICIENTDATA due to lack of needed information. For more information about our NEEDINFO policy please read the wiki located here: https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed. Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-NeedInfo-Ping
Apologies for the delay. We ended up implementing a workaround for this behavior in our system to meet our requirements. Please feel free to close this one.
Would have been nice to get a reply to (In reply to Miklos Vajna from comment #4) > Are you aware of any cases where that xml:id is referenced, but we don't > write it? But let's close as notabug.