-
-
Notifications
You must be signed in to change notification settings - Fork 391
Open
Labels
needs: implementation specsWe need clarity on HOW we'll implement it from a technical perspectiveWe need clarity on HOW we'll implement it from a technical perspectiverestricted: maintainersOnly maintainers can resolve this issueOnly maintainers can resolve this issuetype: bugwork: backendRelated to Python, Django, and simple SQLRelated to Python, Django, and simple SQLwork: frontendRelated to frontend code in the mathesar_ui directoryRelated to frontend code in the mathesar_ui directory
Milestone
Description
Description
- Add an invalid connection (eg., wrong host, port). Notice that the connection gets added.
- Open the database page. eg.,
http://localhost:8000/db/57/
. - Notice that the page displays
Schemas (0)
, instead of displaying an error to the user. - This is because the schemas endpoint filters by connection_id
/api/db/v0/schemas/?connection_id=57
, and returns:{"count":0,"results":[]}
.
Expected behavior
- The database page should show an error mentioning that the connection failed.
- This might require both frontend and backend changes.
Metadata
Metadata
Assignees
Labels
needs: implementation specsWe need clarity on HOW we'll implement it from a technical perspectiveWe need clarity on HOW we'll implement it from a technical perspectiverestricted: maintainersOnly maintainers can resolve this issueOnly maintainers can resolve this issuetype: bugwork: backendRelated to Python, Django, and simple SQLRelated to Python, Django, and simple SQLwork: frontendRelated to frontend code in the mathesar_ui directoryRelated to frontend code in the mathesar_ui directory