Bug 103630 - Alphabetical index retaining deleted information from Concordance-File.sdi file
Summary: Alphabetical index retaining deleted information from Concordance-File.sdi file
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.2.3.2 rc
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-01 21:15 UTC by Bradley Allen
Modified: 2018-05-30 16:47 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
insert index table (78.58 KB, image/png)
2016-11-01 21:15 UTC, Bradley Allen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bradley Allen 2016-11-01 21:15:05 UTC
Created attachment 128412 [details]
insert index table

Original section of Concordance-File.sdi

#
git;git ;;;1;1
Git;Git;;;1;1
GitHub;GitHub;;;1;1
GitLab;GitLab;;;1;1
#
ifconfig;ifconfig;;;1;1

Commented out three lines and changed one line from git to 'git testing'
#
git;git testing;;;1;1
#       Git;Git;;;1;1
#       GitHub;GitHub;;;1;1
#       GitLab;GitLab;;;1;1
#
#
ifconfig;ifconfig;;;1;1

select index table and right click update index
table includes old entries and new entry

Git	5, x, xiii-15, 29, 30, 41, 48, 54, 55, 58-60, 65, 88, 94, 96-99, 108, 125, 177, 180, 193, 208-220, 222, 223, 225, 227, 231-233, 235, 238, 239, 243, 246, 248, 249, 251, 253, 254, 256, 269-271, 273, 285, 286, 288, 293, 303, 305, 309, 315, 340, 341, 343, 403-415, 448, 458
git	215-219, 223, 231, 232, 270, 271, 285, 286, 406-414
git testing	215-219, 223, 231, 232, 270, 271, 285, 286, 406-414
GitHub	xiii, 15, 209-215, 217, 218, 220, 222, 223, 225, 232, 270, 285, 403-410, 412-415
GitLab	225, 227
ifconfig	75, 77, 78, 384, 385, 456, 457, 461-463

select index table and right click delete index
inserted a new index table with the same Concordance-File.sdi file
Comment 1 Bradley Allen 2016-11-01 22:07:55 UTC
New index table includes commented out index information
Git	5, x, xiii, xiv, 15, 29, 30, 41, 48, 54, 55, 58, 59, 60, 65, 88, 94, 96, 97, 98, 99, 108, 125, 177, 180, 193, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 222, 223, 225, 227, 231, 232, 233, 235, 238, 239, 243, 246, 248, 249, 251, 253, 254, 256, 269, 270, 271, 273, 285, 286, 288, 293, 303, 305, 309, 315, 340, 341, 343, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 448, 458
git	215, 216, 217, 218, 219, 223, 231, 232, 270, 271, 285, 286, 406, 407, 408, 409, 410, 411, 412, 413, 414
git testing	215, 216, 217, 218, 219, 223, 231, 232, 270, 271, 285, 286, 406, 407, 408, 409, 410, 411, 412, 413, 414
GitHub	xiii, 15, 209, 210, 211, 212, 213, 214, 215, 217, 218, 220, 222, 223, 225, 232, 270, 285, 403, 404, 405, 406, 407, 408, 409, 410, 412, 413, 414, 415
GitLab	225, 227
ifconfig	75, 77, 78, 384, 385, 456, 457, 461, 462, 463

select index table and right click delete index
saved and closed libreoffice writer file
opened libreoffice writer file
inserted a new index table with the same Concordance-File.sdi file

old information is in index
Git	5, x, xiii, xiv, 15, 29, 30, 41, 48, 54, 55, 58, 59, 60, 65, 88, 94, 96, 97, 98, 99, 108, 125, 177, 180, 193, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 222, 223, 225, 227, 231, 232, 233, 235, 238, 239, 243, 246, 248, 249, 251, 253, 254, 256, 269, 270, 271, 273, 285, 286, 288, 293, 303, 305, 309, 315, 340, 341, 343, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 448, 458
git	215, 216, 217, 218, 219, 223, 231, 232, 270, 271, 285, 286, 406, 407, 408, 409, 410, 411, 412, 413, 414
git testing	215, 216, 217, 218, 219, 223, 231, 232, 270, 271, 285, 286, 406, 407, 408, 409, 410, 411, 412, 413, 414
GitHub	xiii, 15, 209, 210, 211, 212, 213, 214, 215, 217, 218, 220, 222, 223, 225, 232, 270, 285, 403, 404, 405, 406, 407, 408, 409, 410, 412, 413, 414, 415
GitLab	225, 227
ifconfig	75, 77, 78, 384, 385, 456, 457, 461, 462, 463

ran grep on file to determine if the information was in the file in a different location
 $ grep -i git Concordance-File.sdi
git;git ;;;1;1

The old index information is still in the index file
Git	5, x, xiii, xiv, 15, 29, 30, 41, 48, 54, 55, 58, 59, 60, 65, 88, 94, 96, 97, 98, 99, 108, 125, 177, 180, 193, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 222, 223, 225, 227, 231, 232, 233, 235, 238, 239, 243, 246, 248, 249, 251, 253, 254, 256, 269, 270, 271, 273, 285, 286, 288, 293, 303, 305, 309, 315, 340, 341, 343, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 448, 458
git	215, 216, 217, 218, 219, 223, 231, 232, 270, 271, 285, 286, 406, 407, 408, 409, 410, 411, 412, 413, 414
git testing	215, 216, 217, 218, 219, 223, 231, 232, 270, 271, 285, 286, 406, 407, 408, 409, 410, 411, 412, 413, 414
GitHub	xiii, 15, 209, 210, 211, 212, 213, 214, 215, 217, 218, 220, 222, 223, 225, 232, 270, 285, 403, 404, 405, 406, 407, 408, 409, 410, 412, 413, 414, 415
GitLab	225, 227
ifconfig	75, 77, 78, 384, 385, 456, 457, 461, 462, 463

Removed all the information other than the comments at the beginning and same results
Comment 2 Bradley Allen 2016-11-05 02:38:34 UTC
Don't know if anybody is out there reading this that has some knowledge to help?

Removed all the information other than the comments at the beginning of Concordance-File.sdi file and deleted the index in the back of the book.  
Left click view in the top menu and selected 'Field Shadings'
Words in the text of the first paragraph that were in the Concordance-File.sdi file have a high lighted area about a character wide and have a red line below them as if they were missed spelled but they are not misspelled.  When I move the mouse cursor over the word, digital, a small window opens and reads; 'Alphabetical index: Git'

Rechecked to see if the index was deleted and it had been deleted.  

There is a illustration index in the book.  Checked to make sure illustration index did not have Alphabetical index selected but it did have Illustration index.

When I moved the mouse cursor over the word, digital, a small window opens and reads; 'Alphabetical index: Git'.  Right clicked the mouse and in the opened menu it had 'Index Entry..'

How do you clear all the index marks from the words in the text out of the document that were in the index that has been deleted?
Comment 3 Bradley Allen 2016-11-05 20:27:43 UTC
How do you clear all index marks out of a document that need to be deleted?

When I moved the mouse cursor over the word, digital, a small window opens and reads; 'Alphabetical index: Git'.  Right clicked the mouse and in the opened menu it had 'Index Entry..'  Selected 'Index Entry' and selected delete but the cursor did not move to the next word.  

I had to select delete 4 to 13 times for each and every word that was referenced in the index which equals to THOUSANDS of delete clicks.

Created a new index.  Added one word in the Concordance-File.sdi file and right clicked to select update index from the menu.  The word appeared in the index correctly.  Added a new word into the the Concordance-File.sdi file and right clicked to select update index from the menu.  THe new word appeared correctly in the index.

Checked the first occurrence in the book of the first word in the index to determine if it had multiple index marks as the book had before when I had to clear thousands of index marks embedded in the text.  It only had one occurrence for the first word in the index.  Which is great!   Continued testing and the index marks are only occurring once in the book text for each reference in the index.

This bug of not clearing the index marks in the text from the previous selection of 'update index' before adding additional index marks when selecting 'update index'  must have occurred in an earlier release and I did not notice the bug until this release.

This bug created 7 hours of work deleting the thousands of index marks one delete click at a time.

It would be very helpful to be able to delete ALL occurrences of a single word index mark instead of selecting delete for every occurrence.
Comment 4 Bradley Allen 2016-12-05 18:59:50 UTC
This incident:  Old index marks in text are not being removed when rebuilding index table thus create a new mark every time the index is updated. 

This bug of not clearing the index marks in the text from the previous selection of 'update index' before adding additional index marks when selecting 'update index'.

It would be very helpful to be able to delete ALL occurrences of a single word index mark instead of selecting delete for every occurrence.
Comment 5 Aron Budea 2017-02-04 23:39:03 UTC
Please don't confirm your own bug reports. Thanks!
Comment 6 Xisco Faulí 2017-11-01 23:22:53 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
(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.)
Comment 7 QA Administrators 2018-05-02 15:47:04 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2018-05-30 16:47: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-20180530