-
Bug
-
Resolution: Done
-
Minor
-
6.0.0
-
None
Description of problem:
In Data Providers panel - when creating new data provider of type SQL Query, there was a problem, that validation of Datasource was performed immediately after Datasource was selected. This issue is now fixed (see The validation of SQL https://bugzilla.redhat.com/show_bug.cgi?id=969278#c12).
However as a part of this fixe another issue was introduced:
When you don't fill in any Query and then you click "Try" or "Save" button - no feedback is given to the user and so it is not obvious to him, that he must fill in the query.
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
1. Go to workspace "Showcase", page "Data providers"
2. Click "Create new data provider", select type "SQL query" - don't fill in other values
3. Click "Save" or "Try" buttons
Actual results:
While the field label "Name" becomes red (indicating to user, that he must fill in that field) no such feedback is given for the "Query" input text area.
Expected results:
At least the "Query" label should be made red after clicking Try or Save buttons, or some message should be displayed, like "You must fill in SQL query"
Additional info:
Please take into account the problem described in https://bugzilla.redhat.com/show_bug.cgi?id=969278#c7 in part (1) that existed before fix https://bugzilla.redhat.com/show_bug.cgi?id=969278#c12 was implemented. That is: after you implement the fix for the current bug it should still be the case, that the validation is only performed after clicking Try/Save button and not immediately after selecting the Datasource using "Datasource" select.