| Summary: | DOCX: FILESAVE: invalid citation after roundtrip | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Jacobo Aragunde Pérez <jaragunde> |
| Component: | LibreOffice | Assignee: | Sourav <sourav.mahajan> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | lo_bugs |
| Priority: | medium | ||
| Version: | 4.3.0.0.alpha0+ Master | ||
| Hardware: | Other | ||
| OS: | All | ||
| See Also: |
https://bugs.freedesktop.org/show_bug.cgi?id=75133 https://bugs.freedesktop.org/show_bug.cgi?id=74775 https://bugs.documentfoundation.org/show_bug.cgi?id=88697 https://bugs.documentfoundation.org/show_bug.cgi?id=94913 |
||
| Whiteboard: | target:4.4.0 | ||
| Crash report or crash signature: | Regression By: | ||
| Attachments: | Test case | ||
Jacobo, Is your problem the same as reported in bug 75133 "Bibliography field flags are not preserved in Round trip file"? Thanks, Terry. (In reply to comment #1) > > Is your problem the same as reported in bug 75133 "Bibliography field flags > are not preserved in Round trip file"? > Thanks for the heads up Terry. This bug is a specific problem in the code wrote to fix bug 75133. I've added some comments there to make the hackers working in that bug know about this. I would rather not close this one as a duplicated as this is a new issue IMHO, but feel free to do what you consider more appropriate :) Setting status NEW in accord with comment 2. Jacabo, You know more about this that I do. I am happy with your determination that these are different bugs. Terry. Sourav committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=f021524aadfe1aa1a07f4600bcb89e7c69ccfdb0 fdo#76279 Invalid Citation on RoundTrip The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. |
Created attachment 95955 [details] Test case Steps to reproduce: 1. Open attached file. 2. Save it back with a different name. 3. Open the saved file with Word 2010 (*) 4. Do some bibliography operation, for example, change the style (references tab -> citations and bibliography box -> style). 5. The citation will change to "invalid source". (*) I couldn't try with other versions of Word, but probably the bug happens too. Causes: Studying the XML inside the documents, this is the citation in the original file: <w:instrText xml:space="preserve">CITATION Joh50 \l 1033</w:instrText> And this is the citation in the exported file: <w:instrText>CITATION [Joh50]</w:instrText> I've checked that if the exported document looked like this, it would be correct: <w:instrText>CITATION Joh50</w:instrText>