Bug 154070

Summary: SAXException after editing, saving and reopening a DOCX with tracked changes
Product: LibreOffice Reporter: Roman <Nfsmobile>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aron.budea, nemeth, stephane.guillou
Priority: medium    
Version: 7.5.1.2 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 115709    
Attachments: ins no problem
video kak delat
test DOCX after editing, displaying the error

Description Roman 2023-03-08 13:08:39 UTC
Description:
When working in LO Writer, the document .doc .docx breaks

Steps to Reproduce:
1. Tools-Option-User Data- first/last name/initials
2. Enter any username
Ввести имя пользователя любое
3. Look video kak delat
4. Repeat on file ins no problem 

Actual Results:
Cannot open document. When you need it urgently, no one can fix it.

Expected Results:
Run document without hassle


Reproducible: Always


User Profile Reset: No

Additional Info:
More information starts at Bug 151758   
The problem is present in Windows too.
Comment 1 Roman 2023-03-08 13:09:27 UTC
Created attachment 185843 [details]
ins no problem
Comment 2 Roman 2023-03-08 13:10:04 UTC
Created attachment 185844 [details]
video kak delat
Comment 3 Stéphane Guillou (stragu) 2023-03-22 22:33:19 UTC
I also get the error message after making a few changes, saving and reopening the file.

The message reads:

SAXException: [word/document.xml line 2]: Opening and ending tag mismatch: rPr line 2 and ins at /home/buildslave/source/libo-core/sax/source/fastparser/-fastparser.cxx615
Proceeding with import may cause data loss or corruption, and application may become unstable or crash.

Tested with:

Version: 7.4.6.2 / LibreOffice Community
Build ID: 5b1f5509c2decdade7fda905e3e1429a67acd63d
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Version: 7.5.1.2 (X86_64) / LibreOffice Community
Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 4 Stéphane Guillou (stragu) 2023-03-22 22:33:51 UTC
Created attachment 186146 [details]
test DOCX after editing, displaying the error
Comment 5 Aron Budea 2023-03-23 00:39:49 UTC
This seems similar to bug 147892, which is expected to be fixed in 7.5.2, Stéphane, have you been able to reproduce in a recent build from trunk?
Comment 6 Roman 2023-03-23 06:37:08 UTC
If a fix is ready, I would not refuse to version 7.4 so as not to update
Если будет готово исправление, я не отказался бы и на версию 7.4 чтобы не обновляться
Comment 7 Stéphane Guillou (stragu) 2023-03-23 07:51:07 UTC
Good catch, Aron!
I haven't been able to reproduce in:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 64d1a735b2b371495bfd56faf7070fb3274533ad
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

I'm marking as duplicate, but Roman, please also do test in a master build to confirm it is fixed: https://dev-builds.libreoffice.org/daily/master/current.html

I've asked on Gerrit if it could be cherrypicked to be included in 7.4.7.

Thank you!

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