Skip to content

[BUG] Connection details are listed in existing connection even for a failed connection #92

Description

@sathvik-palley

Describe the bug
When attempting to establish a database connection that fails, the connection details are still being added to the existing connections list despite the connection failure.

To Reproduce
Steps to reproduce the behavior:

  • Go to connection setup/configuration
  • Enter invalid connection details (wrong host, credentials, etc.)
  • Attempt to connect to the database
  • Observe connection failure/error message
  • Check existing connections list
  • See that the failed connection details are still listed

Expected behavior
Failed connections should not be added to the existing connections list. Only successful connections should appear in the connections list. We can have a failed connections section since 'Edit Connection' functionality is already in development.

Additional context
This creates confusion for users as they may see non-functional connections in their list and attempt to use them repeatedly. It also clutters the connections interface with invalid entries.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions