Bug 1205453 - [RFE] The UI picker for retirement entry point should only display state machine classes
Summary: [RFE] The UI picker for retirement entry point should only display state mach...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.4.0
Assignee: mkanoor
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On: 1203426
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-24 22:37 UTC by mkanoor
Modified: 2015-06-16 12:54 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-16 12:54:44 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1100 0 normal SHIPPED_LIVE CFME 5.4.0 bug fixes, and enhancement update 2015-06-16 16:28:42 UTC

Description mkanoor 2015-03-24 22:37:09 UTC
Description of problem:
The UI displays a tree control for the retirement entry points. This tree shows all the classes irrespective of if the class is a state machine or not. A class is considered to be a state machine if it contains one or more state fields.

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


How reproducible:
Very

Steps to Reproduce:
1. Create a Service Catalog Item
2. Select the Retirement Entry Points
3. The UI should only show those classes that are state machines

Actual results:
The display contains a mix of state and non state machine classes

Expected results:
The display should only display those classes which are state machines. 

Additional info:
Depends on 1203426

Comment 2 CFME Bot 2015-03-31 06:05:56 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/b912987c35434e63c620a34a030e59d8163b18d9

commit b912987c35434e63c620a34a030e59d8163b18d9
Author:     Madhu Kanoor <mkanoor>
AuthorDate: Tue Mar 24 10:56:44 2015 -0400
Commit:     Madhu Kanoor <mkanoor>
CommitDate: Tue Mar 24 18:26:41 2015 -0400

    Waypoint ids for state machines
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1205453
    
    UI can control which elements (domains, namespaces) it
    displays which have the state machine classes

 vmdb/app/controllers/catalog_controller.rb   |  2 +-
 vmdb/app/models/miq_ae_class.rb              | 24 +++++++++++++-----------
 vmdb/app/presenters/tree_builder_ae_class.rb | 12 ++++++------
 vmdb/spec/models/miq_ae_class_spec.rb        | 14 ++++++++++++++
 vmdb/spec/support/automation_spec_helper.rb  | 10 ++++++++++
 5 files changed, 44 insertions(+), 18 deletions(-)

Comment 4 Shveta 2015-04-23 22:01:54 UTC
Only statemachines are shown in Retirement entry point .
Verified in 5.4.0.0.22.20150420163946_26004d1

Comment 6 errata-xmlrpc 2015-06-16 12:54:44 UTC
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.

https://rhn.redhat.com/errata/RHBA-2015-1100.html


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