Bug 695722

Summary: Bread crumbs missing level for Grid->Schedulers->Submissions->select submission
Product: Red Hat Enterprise MRG Reporter: Trevor McKay <tmckay>
Component: cuminAssignee: Chad Roberts <croberts>
Status: CLOSED ERRATA QA Contact: Jan Sarenik <jsarenik>
Severity: low Docs Contact:
Priority: medium    
Version: DevelopmentCC: iboverma, jsarenik, matt
Target Milestone: 2.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cumin-0.1.4712-1 Doc Type: Bug Fix
Doc Text:
Cause Clicking through the path, Grid->Schedulers->(select a scheduler)->Submissions->(select asubmission), would result in a page that would correctly display the desired information, but would lack a link back to the selected scheduler frame. Consequence The user would be on a "submission" page with no link available to go straight back to the currently selected scheduler. Fix The fix was to add a SubmissionFrame to the SchedulerFrame. In addition, the PoolSubmissionSelector constructor was changed to allow you to pass in the frame name (defaulted to the original value of main.grid.submission) to control the target of the links generated in the PoolSubmissionSelector. Result The breadcrumb at the top of the screen will now include a link to the currently selected scheduler when the user is looking at a given submission.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-23 15:37:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 693778    

Description Trevor McKay 2011-04-12 14:18:00 UTC
Description of problem:

Following links Grid->Schedulers->(select a scheduler)->Submissions->(select a submission) produces a breadcrumb trail that does not contain a link to return to the selected scheduler:

Pool 'grid0.lab.bos.redhat.com' › Submission 'test'

In contrast, following links  Grid->Schedulers->(select a scheduler)->Submitters->(select a submitter) produces a trail which contains a return link for the selected scheduler.

Pool 'grid0.lab.bos.redhat.com' › Scheduler 'grid0.lab.bos.redhat.com' › Submitter 'tmckay.bos.redhat.com' 

The bread crumbs for a drilldown into a submission should contain a link for the selected scheduler.

Comment 1 Chad Roberts 2011-04-13 15:12:20 UTC
Fix available in revision 4709.

The fix was to add a SubmissionFrame to the SchedulerFrame.  In addition, the PoolSubmissionSelector constructor was changed to allow you to pass in the frame name (defaulted to the original value of main.grid.submission) to control the target of the links generated in the PoolSubmissionSelector.

Comment 2 Chad Roberts 2011-04-13 20:20:23 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause
    Clicking through the path, Grid->Schedulers->(select a scheduler)->Submissions->(select asubmission), would result in a page that would correctly display the desired information, but would lack a link back to the selected scheduler frame.

Consequence
    The user would be on a "submission" page with no link available to go straight back to the currently selected scheduler.

Fix
    The fix was to add a SubmissionFrame to the SchedulerFrame.  In addition, the PoolSubmissionSelector constructor was changed to allow you to pass in the frame name (defaulted to the original value of main.grid.submission) to control the target of the links generated in the PoolSubmissionSelector.

Result
    The breadcrumb at the top of the screen will now include a link to the currently selected scheduler when the user is looking at a given submission.

Comment 3 Jan Sarenik 2011-04-14 09:11:56 UTC
Verified in cumin-0.1.4712-1.el5

Added Selenium test which does following:
------------------------------------------
clickAndWait
  //x:a[text()="Grid"]
  //x:a[text()="Schedulers"]
  //x:td[1]/x:a
  //x:a[text()="Submissions"]
click
  //x:td[1]/x:a

waitForTextPresent, verifyTextPresent
 "› Scheduler '"
------------------------------------------

Comment 4 errata-xmlrpc 2011-06-23 15:37:23 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-0889.html