Bug 115543 - Docx-import doesn't handle importing of index marks correctly
Summary: Docx-import doesn't handle importing of index marks correctly
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-08 10:03 UTC by janalwin
Modified: 2018-10-09 11:31 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description janalwin 2018-02-08 10:03:26 UTC
Description:
The Docx import leaves the main entry of the entry (text:string-value) empty and puts all info in the key1 field (text:key1)

<text:alphabetical-index-mark text:string-value=" "
                    text:key1="rechtsmacht"/>

If there was a subentry it is also added to text:key1 seperated with a colon:

<text:alphabetical-index-mark text:string-value=" "
                    text:key1="Brussel II-bis:toepassingsgebied"/>

When I convert the .docx to .doc in Microsoft Word first and import the .doc-file everything works ok:

<text:alphabetical-index-mark text:string-value="rechtsmacht"
                    />

<text:alphabetical-index-mark
                    text:string-value="toepassingsgebied" text:key1="Brussel II-bis"/>


Steps to Reproduce:
1. Create index entry (with subentry) in Microsoft Word
2. Save as .docx
3. Import in Libreoffice 
4. Check the indexentry

All info is places in key1

5. Save the .docx as .doc
6. Import in Libreoffice
7. Check entry

The main entry is added to key1. The subentry is added to enty. When no subentry it the main entry is added to entry. EXPECTED RESULT

Actual Results:  
see steps to reproduce

Expected Results:
see steps to reproduce


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:58.0) Gecko/20100101 Firefox/58.0
Comment 1 Xisco Faulí 2018-02-08 10:37:38 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)

I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
Comment 2 QA Administrators 2018-09-03 14:49:51 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2018-10-09 11:31:55 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-20181009