https://bugs.documentfoundation.org/show_bug.cgi?id=174166

--- Comment #4 from JLS <[email protected]> ---
I ran a test:

1) I created a folder ~/tmp/DB-libreoffice

2) In that folder, I created a Calc file named “base-test.ods” with a few rows
and 3 columns

3) I created a new Writer file named doc.odt
   3.1) I verified that it did not contain any links to .ods files—OK
   3.2) Using Edit > Change Database, I added “base-test.ods” to link to it
   3.3) I added database fields to the file and verified that the fields
updated correctly as defined in “base-test.ods”
   3.4) Saved and exited

4) I extracted the doc.odt archive into a folder. In that folder:
   4.1) Using grep, I searched for all occurrences of the string
“base-test.ods”; it wasn’t there -> no reference to the linked file!!
   4.2) Using `grep`, I searched for “base-test,” which is mentioned 4 times:
      - 1 time in the `settings.xml` file: `<config:config-item
config:name=“CurrentDatabaseDataSource”
config:type=“string”>base-test</config:config-item>`
       - 3 times in the `content.xml` file because I inserted 3 fields

5) I used grep to search my entire home directory for all occurrences of the
string “base-test”

    I found it in
      - in .bash_history: grep -r base-test.ods
      - in the same locations as in section 4.2
      - once in .var/app/org.libreoffice.LibreOffice/data/recently-used.xbel
      - twice in
.var/app/org.libreoffice.LibreOffice/config/libreoffice/4/user/registrymodifications.xcu
         - <item
oor:path=“/org.openoffice.Office.Histories/Histories/org.openoffice.Office.Histories:HistoryInfo[‘PickList’]/ItemList”><node
oor:name="file:/// home/jls/tmp/DB-libreoffice/base-test.ods“
oor:op=”replace“><prop oor:name=”Title“
oor:op=”fuse“><value>base-test</value></prop><prop oor:name=”Filter“
oor:op=‘fuse’><value>calc8</value></prop><prop oor:name=”Pinned"....... .
          - <item
oor:path="/org.openoffice.Office.Histories/Histories/org.openoffice.
Office.Histories:HistoryInfo[‘PickList’]/OrderList“><node oor:name=”2“
oor:op=”replace“><prop oor:name=‘HistoryItemRef’
oor:op=”fuse"><value>file:///home/jls/Documents/base-test001.odb</value></prop></node></item>
       - once in
.var/app/org.libreoffice.LibreOffice/config/libreoffice/4/user/registrymodifications.xcu:<value>file:///home/jls/Documents/base-test001.odb</value>
              The file ./Documents/base-test001.odb is a remnant of a temporary
file that was not deleted after fusion it contain my ; it contains a table that
matches the base-test.ods file.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to