UI shouldn't switch to other tab while creating OS parameters with same name or with blank name/values
|Assigned To:||Ori Rabin|
|Target version:||Sprint 27|
|Found in release:||Pull request:||https://github.com/theforeman/foreman/pull/1611|
|Velocity based estimate||-|
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1120663
Description of problem:
I added OS parameter with blank name/value and UI raises error on submit but as soon as I submit the form, UI switched to main(Operating System) tab. It should stay on same 'Parameters' tab since error is raised under it.
Version-Release number of selected component (if applicable):
sat6 GA snap0
Steps to Reproduce:
1. create OS with parameters name/value as blank
2. submit it
when you submit the form with blank name/value for OS parameters, neither the form was submitted nor you will see any error. Actually error raised but it displays only under 'Parameters' tab. Also, on submit the form, UI quickly switches from 'parameters' tab to 'operating system' tab
Since UI raised error so, It should stay on same page/tab where error was raised.