Skip to content

Conversation

DosenSuppe
Copy link
Member

Problem:
ConnectionString not forwarded properly whilst configuring.

Solution:
Save button is disabled until the database connection test is completed.

Also added missing outline to the save button.

@DosenSuppe DosenSuppe requested a review from a team August 25, 2025 06:30
@DosenSuppe DosenSuppe self-assigned this Aug 25, 2025
@DosenSuppe DosenSuppe force-pushed the fix/connectionstring-improperly-forwarded branch 2 times, most recently from 1136105 to c7d63e0 Compare August 25, 2025 07:13
@DosenSuppe DosenSuppe marked this pull request as draft August 29, 2025 07:18
@1nf0rmagician 1nf0rmagician requested review from 1nf0rmagician and removed request for a team September 9, 2025 04:58
@1nf0rmagician 1nf0rmagician added the bug Something isn't working label Sep 9, 2025
@DosenSuppe DosenSuppe force-pushed the fix/connectionstring-improperly-forwarded branch from c7d63e0 to 8cd6eea Compare September 18, 2025 09:08
Problem:
Using a user other than `postgres` causes the connection test to fail.
This occurs because the ConnectionString lacks a `Database` attribute
during the test.
As a result, the npgsql defaults to using the `User` attribute as the
database name, which leads to a `DatabaseNotFound` error as no matching
database exists.

Solution:
Using a custom config for testing the database server's connection status
with database being "postgres".

INFO:
This migh lead to an edge-case where the user in unable to create/ delete
databases if the "postgres" database has been deleted.

Also added missing `outline` to the save button for the database config.

closes #539
@DosenSuppe DosenSuppe force-pushed the fix/connectionstring-improperly-forwarded branch from a4410e2 to 3444287 Compare October 14, 2025 12:57
@DosenSuppe DosenSuppe marked this pull request as ready for review October 14, 2025 13:01
@DosenSuppe DosenSuppe requested a review from dbeuchler October 14, 2025 13:01
@1nf0rmagician 1nf0rmagician merged commit 26a171a into release/6 Oct 14, 2025
8 checks passed
@1nf0rmagician 1nf0rmagician deleted the fix/connectionstring-improperly-forwarded branch October 16, 2025 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants