| Summary: | [REST API] Domain with empty name returns two validation messages instead of one | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OKD | Reporter: | Clayton Coleman <ccoleman> | ||||
| Component: | Pod | Assignee: | Clayton Coleman <ccoleman> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | libra bugs <libra-bugs> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 1.x | CC: | bmeng, lnader, mpatel, pruan, rpenta, yquan | ||||
| Target Milestone: | --- | Keywords: | Triaged | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-05-25 00:02:17 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Clayton Coleman
2012-04-12 16:21:31 UTC
When input existed domain name and not allowed domain name such as openshift, will also prompt "Your namespace must be letters or numbers with no spaces or symbols" error massage.I think this error message is not proper. Reproduce: 1,Log in and go to the domain name alter page. 2,Input the existed domain name or not allowed domain name. 3,Click save button. Did this get fixed? Not on PROD It is not fixed in devenv_1178 yet, and I found some other problem.When I input the existed namespace, and click the save button , it will return "namespace 'domaintest00' already in use. Please choose another", but I input none namespace and click the save button, the previous error message still existe. You can refer to the screenshot attachment. Created attachment 584849 [details]
The Screenshot of error message.
Had a scathing twitter post about this - MUST FIX :) Git rev 2894737fac99d fixes the issue mentioned in the description i.e. it returns only one error in case of failures. For comment-4, broker is returning only one error 'Domain xxx already in use. please choose another' but site is showing more errors. Assigning to clayton for further investigation. The duplicate error message does not prompt when input '' namespace . But the problem in comment-4 is still exist. You can reproduce it in website in follow steps. 1.create a domain in website 2.go the page of changing domain. 3.input existed domain name and click the save button, then "Namespace 'domiantest000' already in use. Please choose another" will be prompted. 4.input domain name with empty, and click the save. 5.The "Namespace 'domiantest000' already in use. Please choose another" will still exist in the page. I think it is page's problem. I suspect it has no bussiness with the broker. The problem in comment 8 is a dupe of bug 822018 - the JS was showing it. *** This bug has been marked as a duplicate of bug 822018 *** |