Hide Forgot
Description of problem: Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Go to Automate -> Customization -> Service dialogs 2. Create a new dialog 3. Add a new tab to this dialog (It tells that tab has to have at least one box) 4. In toolbar select add a new tab to this dialog Actual results: It saves previous tab even when it has no boxes. Works same for boxes/elements etc. Expected results: It shouldn't allow adding another tabs when creating of one is in progress. Additional info:
https://github.com/ManageIQ/manageiq-ui-classic/pull/91
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/7e168841d2e19bb6684d63ca492d6f63c13326e9 commit 7e168841d2e19bb6684d63ca492d6f63c13326e9 Author: Harpreet Kataria <hkataria> AuthorDate: Fri Jan 6 09:16:12 2017 -0500 Commit: Harpreet Kataria <hkataria> CommitDate: Fri Jan 6 14:46:41 2017 -0500 Validate dialog children while edit is in progress Validate dialog children when adding another one of same type of elements/tab/box to same parent. When adding a new tab/box/element to same parent validate if the one being added/edited already has children before adding a new empty one. Previously this validation was only done at ehe end when Add/Save buttons were pressed. https://bugzilla.redhat.com/show_bug.cgi?id=1396583 .../miq_ae_customization_controller/dialogs.rb | 17 +++++-- .../dialogs_spec.rb | 57 ++++++++++++++++++++++ 2 files changed, 70 insertions(+), 4 deletions(-)
It is not allowing to add another tab when creating of one is in progress. Verified Version: 5.8.0.12-rc1.20170425180304_4f35996