Description of problem:
When you upload 2 plans with the same name, you get an error message saying "plan creation failed" with no details why.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Upload the same plan twice, with the same name
The error message says "plan creation failed"
The error message should say "a plan with this name already exists"
Created attachment 1387732 [details]
Screenshot showing the UI displays the relevant error message
Could not reproduce this (see screenshot). Could you re-test please.
Created attachment 1387790 [details]
Plan Creation Failed
I'm only getting "Plan Creation Failed" with no additional info. See my screenshot.
Jiri said he fixed a similar bug, in which the details of the error message did not appear in the minified version of the code. Maybe you can ask him if we're lucky and his fix will cover this bug too (or if he only fixed it for errors coming from heat).
Jirka, any ideas on this one?
Yes, https://bugzilla.redhat.com/show_bug.cgi?id=1492728#c8 fixes the error handling issues in production. This bug should be fixed by it too.
So this is caused by the same underlying issue as BZ1492728. I'll link the appropriate patches and re-assign to Jirka.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.