Red Hat Bugzilla – Bug 1473643
When trying to add a duplicate class, no flash message is shown
Last modified: 2017-07-25 07:29:20 EDT
Description of problem:
As subject says, when trying to add a duplicate class in a namespace, the flash message is not shown. However the duplicate class is not created, which makes it just a consmetic error.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create an automate namespace
2. Create a class (let's say "cls1")
3. Try creating a new class with the same name in the namespace
Class is not created, flash message not shown.
Class is not created, flash message is shown.
Looks like we have the expected model validation in place: https://github.com/ManageIQ/manageiq/blob/master/app/models/miq_ae_class.rb#L14
Sending to UI team to review.
Seems like it was unfixed for so long that even I forgot that I reported it 4 months ago :).
*** This bug has been marked as a duplicate of bug 1428424 ***