Bug 782503 - Wrong flash message when user try to create a new deployable from built & pushed image without any hardware profile.
Summary: Wrong flash message when user try to create a new deployable from built & pus...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-conductor
Version: 1.0.0
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: rc
Assignee: Jozef Zigmund
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-17 15:43 UTC by Jozef Zigmund
Modified: 2012-08-30 17:12 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-30 17:12:35 UTC


Attachments (Terms of Use)
msg (243.77 KB, image/png)
2012-02-08 05:31 UTC, Aziza Karol
no flags Details

Description Jozef Zigmund 2012-01-17 15:43:06 UTC
Description of problem:

User gets confusing message(flash notice ?) when he try to create a new deployable from image list in Conductor UI(Administer->)


Version-Release number of selected component (if applicable):


How reproducible:
Build an image (through aeolus-image tool, in time when I found this bug I wasn't able to build image via UI).


Steps to Reproduce:
1. User doesn't have defined any hardware profiles.
2. Build an image(via aeolus-image command-line tool)
3. In UI (Administer->Enviroment->tab Images->click on the recent built image)
4. Click on "New Deployable from Image"
5. Fill the form(name of deployable, choose an catalog, select box of hardware profile is empty!!!)
6. Save it
  
Actual results:
It shows flash message ("The record you tried to access does not exist, it may have been deleted") of type 'notice'. 

Expected results:
On deployable#new action user should see flash message(Couldn't find any hardware profile, please create one) of type 'error' and Save button should be disabled.


Additional info:

Comment 1 Jozef Zigmund 2012-02-07 14:18:42 UTC
Bugfix was pushed into staging branch with commit # 3f387e9647b08a347f081b342f6310651fac09c3, please verify it.

Bugfix solution:
When user click on "New Deployable from Image" and he doesnt have any hardware profile or catalog, he will get flash error message about it and 'Save' button is disabled.

Comment 2 Aziza Karol 2012-02-08 05:30:58 UTC
    * No catalog exists! Please create one.
    * No hardware profile exists! Please create one. is displayed when user click on "New Deployable from Image" and he doesnt have any hardware profile or catalog.

Save button is disabled

verified on:
rpm -qa | grep aeolus
aeolus-conductor-0.8.0-23.el6.noarch
rubygem-aeolus-cli-0.3.0-8.el6.noarch
aeolus-configure-2.5.0-12.el6.noarch
rubygem-aeolus-image-0.3.0-7.el6.noarch
aeolus-all-0.8.0-23.el6.noarch
aeolus-conductor-doc-0.8.0-23.el6.noarch
aeolus-conductor-daemons-0.8.0-23.el6.noarch

Comment 3 Aziza Karol 2012-02-08 05:31:51 UTC
Created attachment 560136 [details]
msg


Note You need to log in before you can comment on or make changes to this bug.