Bug #26181
openBug #26172: in datasources, ids are not normalized, thus creating problems at deletion
Datasource form validation errors do not prevent saving it
Description
When creating a new datasource, the save button is always enabled even if the required fields are not filled.
Also, the errors are there since the page is opened.
It should be disabled when any required field is still empty, or when there are errors (we need to validate that the key consists of alphanum chars) :
Also when managing to save a datasource but with an API error on creation, the datasource is still added to the datasources list on the left, with a success notification about the datasource creation, but it disappears once the page is refreshed, as the datasource was never actually created.
API errors are not also correctly shown in the UI.
Files