You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After a misconfigured database model, the UI stays in "Loading...".
To Reproduce
Steps to reproduce the behavior:
Go to CommandCenter
Click on a model
Change connector to postgresql
Enter connection string "something-weired"
Save
Response of the getDatabases() call:
{
"title": "500 - Internal Server Error",
"exception": "System.ArgumentException: Format of the initialization string does not conform to specification starting at index 0.\n at System.Data.Common.DbConnectionOptions.GetKeyValuePair(String connectionString, Int32 currentPosition, StringBuilder buffer, Boolean useOdbcRules, String& keyname, String& keyvalue)\n at System.Data.Common.DbConnectionOptions.ParseInternal(Dictionary`2 parsetable, String connectionString, Boolean buildChain, Dictionary`2 synonyms, Boolean firstKey)\n at System.Data.Common.DbConnectionOptions..ctor(String connectionString, Dictionary`2 synonyms, Boolean useOdbcRules)\n at System.Data.Common.DbConnectionStringBuilder.set_ConnectionString(String value)\n at Npgsql.NpgsqlConnectionStringBuilder..ctor(String connectionString)\n at Moryx.Model.PostgreSQL.NpgsqlModelConfigurator.CreateConnectionStringBuilder(IDatabaseConfig config, Boolean includeModel)\n at Moryx.Model.PostgreSQL.NpgsqlModelConfigurator.BuildConnectionString(IDatabaseConfig config, Boolean includeModel)\n at
[...]
}
Expected behavior
A clear and concise description of what you expected to happen.
Describe the bug
After a misconfigured database model, the UI stays in "Loading...".
To Reproduce
Steps to reproduce the behavior:
Response of the
getDatabases()
call:Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Environment:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: