Bug 148832 - File - Wizards - Address Data Source always overwrites the system Addresses.odb
Summary: File - Wizards - Address Data Source always overwrites the system Addresses.odb
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-28 02:56 UTC by skierpage
Modified: 2022-05-12 06:19 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 skierpage 2022-04-28 02:56:04 UTC
Description:
I wanted to create mailing labels for ONE document from ONE unique spreadsheet without disturbing my existing address data source. LibreOffice File - Wizards - Address Data Source makes it look like you can embed an address book mapping in a Writer document, but it always silently overwrites your existing Addresses.odb in $HOME.

Steps to Reproduce:
1. Delete or move away any existing $HOME/Address.odb file 
2. File > New > Text Document
3. File > Wizards > Address Data Source
   * Address Book Type : Other external data source
   * Connection Settings > Settings
4. This brings up Create Address Data Source
   * Advanced Properties > Database type: Spreadsheet.
   * Point to the spreadsheet in Path to the spreadsheet document
5. Back to first wizard
   * make Field Assignments to spreadsheet columns
   * in Data Source Title
     - check "Embed this address book definition into the current document"
     - uncheck "Make this address book available to all modules in LibreOffice.
6. Click [Finish]

Actual Results:
There's a hint of the carnage to come at the bottom of one dialog, "The new settings you make will overwrite your existing settings"

Sure enough, I now have a brand new separate $HOME/Addresses.odb ! The first time I did this it blew away 

Expected Results:
The wizard(s) make it seem as if you can define the address book data source for a single document and embed that in it. You can't. I cannot figure out what the two checkboxes in that final wizard step actually do.

There should be some prompt "About to overwrite your single system-wide Addresses.odb file. Is that OK?" I actually wanted to keep my regular address book, but LO silently overwrote it.


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
The other screw-up is if I go on to try to use this new data source in the current document, I have to re-enter the field mapping that I already set up. I may file that separately.s
Comment 1 Dieter 2022-05-12 06:19:39 UTC
I'm not an expert of the Adress Data Source wizard, but I can't see a bug here. If you have a default path and a default file name, it is clear to me, that previous file is overwritten. But you can change path and name. If I use a different name, message doesn't pop up

If you need assistance with a certain feature, please use ask.libreoffice.org.

=> NOTABUG
Feel free to change it back to UNCONFIRMED with a short reasoning, if you disagree.