Bug 1359693 - Clicking Automate triggers an error.
Summary: Clicking Automate triggers an error.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.5.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.7.0
Assignee: Martin Povolny
QA Contact: Dmitry Misharov
URL:
Whiteboard: ui
Depends On:
Blocks: 1376557
TreeView+ depends on / blocked
 
Reported: 2016-07-25 10:12 UTC by Milan Falešník
Modified: 2017-05-16 14:20 UTC (History)
7 users (show)

Fixed In Version: 5.7.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1376557 (view as bug list)
Environment:
Last Closed: 2017-01-11 20:14:52 UTC
Category: Bug
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Milan Falešník 2016-07-25 10:12:38 UTC
Description of problem:
Clicking the top level menu item triggers an exception in some cases.


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

How reproducible:
always

Steps to Reproduce:
1. Create a user whose role is copied from the -user builtin role and enable the user to view and edit automate domains.
2. Log in as the user and ensure the initial session is empty (eg. anynomous mode). If you went to Automate Explorer before, it will then work just fine.
3. Click the Automate in top menu. Do not click the second level menu, just the top-level menu.

Actual results:
Missing template dashboard/maintab, application/maintab with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml, :jbuilder, :rjs]}. Searched in: * "/var/www/miq/vmdb/app/views" * "/opt/rh/rh-ruby22/root/usr/share/gems/gems/redhat_access_cfme-0.0.7/app/views" [dashboard/maintab]

Expected results:
Explorer appears.

Additional info:
There might possibly be a different approach how to reproduce it, but I am not aware of any other yet.

Comment 2 Harpreet Kataria 2016-07-27 13:59:39 UTC
Eric,

Can you take a look, let me know if you need help with tracking the code down, when clicking on first level Automate menu, it should load Automate explorer by default.

Thanks,
~Harpreet

Comment 8 Martin Povolny 2016-11-08 17:14:41 UTC
fixed in master before 5.7 was branched

viz https://bugzilla.redhat.com/show_bug.cgi?id=1376557

Comment 10 Dmitry Misharov 2016-11-16 09:05:36 UTC
Verified in 5.7.0.11-rc1.20161115160629_46cf4f1. Automate->Explorer appears successfully for user with restricted access.


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