Bug 157985 - Corrupt DOCX document after saving (track changes involved) 2
Summary: Corrupt DOCX document after saving (track changes involved) 2
Status: RESOLVED DUPLICATE of bug 157326
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.2.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-30 12:20 UTC by Roman
Modified: 2023-11-23 11:08 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
video kak delat (7.83 MB, video/x-matroska)
2023-10-30 12:22 UTC, Roman
Details
stdContent_problem. (12.25 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2023-10-31 11:17 UTC, Roman
Details
stdContent_noproblem (11.36 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2023-10-31 11:17 UTC, Roman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman 2023-10-30 12:20:32 UTC
Description:
When working in LO Writer, the document .docx breaks
При работе в LO Writer ломается документ  .docx



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: Yes

Additional Info:
More information starts at Bug147892  
Более подробная информация начинается в 147892
Earlier in 7.4
Ранее в 7.4
Opening and ending tag mismatch: rPr line 2 and ins
Tags affected since 7.5.2.2
Теги задетые с 7.5.2.2
stdContent line 2 and ins
stdContent line 2 and del
stdContent line 2 and p
hyperlink
comment.xml
Comment 1 Roman 2023-10-30 12:22:37 UTC
Created attachment 190509 [details]
video kak delat
Comment 2 Mike Kaganski 2023-10-30 12:42:43 UTC
1. Could you please test using version 7.6? As far as I know, until now there were no such problems using 7.6, while there were plenty of those using 7.5 and earlier (see e.g. https://ask.libreoffice.org/t/corrupted-file-saxexception-opening-and-ending-tag-mismatch-rpr-line-2-and-ins/86197 ).
2. If you can repro, then could you please provide the working initial document you used for your screen recorder: the video does not allow to reproduce it on my side, possibly because the original document needs to already have specific set of changes.
Thank you!
Comment 3 Roman 2023-10-30 13:23:51 UTC
(In reply to Mike Kaganski from comment #2)
> 1. Could you please test using version 7.6? As far as I know, until now
> there were no such problems using 7.6, while there were plenty of those
> using 7.5 and earlier (see e.g.
> https://ask.libreoffice.org/t/corrupted-file-saxexception-opening-and-ending-
> tag-mismatch-rpr-line-2-and-ins/86197 ).
> 2. If you can repro, then could you please provide the working initial
> document you used for your screen recorder: the video does not allow to
> reproduce it on my side, possibly because the original document needs to
> already have specific set of changes.
> Thank you!

1. There are cases both on 7.5 and on 7.6 There are broken documents. I can't think that they are confidential.
2. The video is dragged here for version 7.4
1. Есть случаи и на 7.5 и на 7.6 Ломанные документы есть. Не могу думать что они являются конфиденциальными.
2. Видео тут тащится для версии 7.4
I was able to rearrange the tags and return the working version. It is not yet possible to repeat the described tags.
Теги переставить и вернуть рабочий вариант я смог. Повторить описанные теги, пока не предоставляется возможным.
Comment 4 Roman 2023-10-30 14:12:29 UTC
https://bugs.documentfoundation.org/show_bug.cgi?id=149996
hyperlink полагаю как раз закрыли
Comment 5 Roman 2023-10-30 14:15:36 UTC
https://forum.openoffice.org/en/forum/viewtopic.php?t=108387
Вот тут sdtContent line 2 and del чужой не мой, но описание идентично.
Here sdtContent line 2 and del is someone else’s, not mine, but the description is identical.
Вот тут sdtContent line 2 and del чужой не мой, но описание идентично.
Comment 6 Roman 2023-10-30 14:17:53 UTC
Ошибка формата файла в позиции 
SAXParseException: '[word/comments.xml line 2]: Attribute w:val redefined
 at /home/buildslave/source/libo-core/sax/source/fastparser/fastparser.cxx:615', Stream 'word/comments.xml', Line 2, Column 5630
SAXParseException: '[word/document.xml line 2]: unknown error at /home/buildslave/source/libo-core/sax/source/fastparser/fastparser.cxx:615', Stream 'word/document.xml', Line 2, Column 31445 at /home/buildslave/source/libo-core/writerfilter/source/filter/WriterFilter.cxx:213(строка, столбец).

This is word/comments.xml'
Comment 7 Mike Kaganski 2023-10-30 14:25:35 UTC
I asked for a very specific things. A document used for the video. And a test with 7.6. Everything else is unhelpful. Until I can have a document, do specific actions, and produce the corruption, I can't fix it.

And tdf#108387 is completely different. Its description is about hyperlinks and anchored objects. The XML corruption is also different, not mentioning "ins" or "del".

If you want to discuss something in Russian, you may visit https://forumooo.ru.
Comment 8 Roman 2023-10-30 15:02:34 UTC
(In reply to Mike Kaganski from comment #7)
> I asked for a very specific things. A document used for the video. And a
> test with 7.6. Everything else is unhelpful. Until I can have a document, do
> specific actions, and produce the corruption, I can't fix it.
> 
> And tdf#108387 is completely different. Its description is about hyperlinks
> and anchored objects. The XML corruption is also different, not mentioning
> "ins" or "del".
> 
> If you want to discuss something in Russian, you may visit
> https://forumooo.ru.

How can I send you a document?
I need the Russian language purely for myself, so as not to get confused.
hyperlinks was added to the theme as one of the tags, which also caused an error when running the file.
Как тебе отправить документ?
Русский язык мне нужен чисто для себя, чтобы не путаться.
hyperlinks был добавлен в тему как один из тегов, из-за которого также была ошибка при запуске файла.
Comment 9 Mike Kaganski 2023-10-30 15:45:07 UTC
> How can I send you a document?

By email.
Comment 10 Roman 2023-10-31 11:17:34 UTC
Created attachment 190548 [details]
stdContent_problem.
Comment 11 Roman 2023-10-31 11:17:50 UTC
Created attachment 190549 [details]
stdContent_noproblem
Comment 12 Roman 2023-10-31 11:18:26 UTC
Да вот отрывок для всех работающий сразу.
Comment 14 Stéphane Guillou (stragu) 2023-11-23 11:08:24 UTC
(In reply to Roman from comment #11)
> Created attachment 190549 [details]
> stdContent_noproblem

Reproduced by editing the contents of this table with Track Changes on and:

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

As well as:

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

In any case, seems like the same issue as bug 157326, marking as a duplicate.

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