| Summary: | No validation for empty fields when importing as non -admin user | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] CloudForms Cloud Engine | Reporter: | Shveta <ssachdev> | ||||||||
| Component: | aeolus-conductor | Assignee: | Shveta <ssachdev> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | wes hayutin <whayutin> | ||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 1.0.0 | CC: | akarol, athomas, deltacloud-maint, ssachdev | ||||||||
| Target Milestone: | rc | 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-15 22:26:22 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Attachments: |
|
||||||||||
Created attachment 559982 [details]
invalid_msg
moving version to 1.0.0 . version = found in version Please check if this can be reproduced in current build. Yep, it can definitely be reproduced. If there are no accounts, should we even allow the user to submit the form? Or should we have a flash warning instructing the user to create a provider account? Mainn Please add a flash error message, warning the user that a provider account is required before they can import a template, to be shown when the click on the "Continue" button referred to in the steps to reproduce above. Patch pushed to master: commit a55bb5a5164d6f1aa4fb1fffc2efc95420926f38 BZ 788136 add checks to see if accounts exist Created attachment 568193 [details]
continue button disabled
If no provider accounts are there "Images cannot be imported, as no provider accounts are currently enabled for this environment." error is flashed
and continue button is disabled
rpm -qa|grep aeolus
aeolus-conductor-doc-0.8.0-41.el6.noarch
aeolus-conductor-daemons-0.8.0-41.el6.noarch
rubygem-aeolus-cli-0.3.0-13.el6.noarch
aeolus-all-0.8.0-41.el6.noarch
aeolus-conductor-0.8.0-41.el6.noarch
rubygem-aeolus-image-0.3.0-12.el6.noarch
aeolus-configure-2.5.0-18.el6.noarch
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. http://rhn.redhat.com/errata/RHEA-2012-0583.html |
Created attachment 559977 [details] no_provider Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Create a user shveta 2. As shveta go to clouds --> Component outlines -- > Import Component Outlines 3. No providers are displayed 4. Click on Continue button "The record you tried to access does not exist, it may have been deleted " is displayed validation for empty fields or a better message is required. Actual results: Expected results: Additional info: rpm -qa|grep aeolus aeolus-conductor-daemons-0.8.0-21.el6.noarch aeolus-configure-2.5.0-12.el6.noarch aeolus-conductor-doc-0.8.0-21.el6.noarch rubygem-aeolus-image-0.3.0-7.el6.noarch rubygem-aeolus-cli-0.3.0-8.el6.noarch aeolus-conductor-0.8.0-21.el6.noarch aeolus-all-0.8.0-21.el6.noarch