Bug 167960 - Base should display the authentication dialog again after a failed connection
Summary: Base should display the authentication dialog again after a failed connection
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
3.3.0 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-15 00:41 UTC by prrvchr
Modified: 2025-08-15 00:49 UTC (History)
0 users

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 prrvchr 2025-08-15 00:41:21 UTC
Description:
In LibreOffice if you open a Base file and connect with a different account than the one you saved and which is displayed in the authentication dialog and then close the Base file then you will be unable to reopen this Base file again without having to restart LibreOffice.



Steps to Reproduce:
You need to connect to the database with two different accounts in order to reproduce this little inconvenience. We can say user1 and user2.
Important: their password must be different...

1. Open an odb file in LibreOffice normally used by user1 but with the user2. 
2. Close this odb file.
3. Try to reopen this odb file.
4. You will never be able to

Actual Results:
If you log in with an account that is not the account saved in the odb file and after closing this file you try to reopen it, it will not be possible to log in again.

Expected Results:
When reopening a file in Base if the connection fails, then the authentication dialog should reappear.



Reproducible: Always


User Profile Reset: Yes

Additional Info:
The workaround for this problem is to close LibreOffice and reopen it...

On the other hand, if both users have the same password, then you will see that when you open the odb file for the second time, you are connected with user1 but Base keep in cache the password of user2. Unfortunately, this cannot work.
Comment 1 prrvchr 2025-08-15 00:49:48 UTC
So that there is no doubt when I say open an odb file: it is opening the file and trying to display the tables in the Base browser, in short to connect to the database.