Bug 695722 - Bread crumbs missing level for Grid->Schedulers->Submissions->select submission
Summary: Bread crumbs missing level for Grid->Schedulers->Submissions->select submission
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: cumin
Version: Development
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: 2.0
: ---
Assignee: Chad Roberts
QA Contact: Jan Sarenik
URL:
Whiteboard:
Depends On:
Blocks: 693778
TreeView+ depends on / blocked
 
Reported: 2011-04-12 14:18 UTC by Trevor McKay
Modified: 2011-06-23 15:37 UTC (History)
3 users (show)

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.
Clone Of:
Environment:
Last Closed: 2011-06-23 15:37:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:0889 0 normal SHIPPED_LIVE Red Hat Enterprise MRG Grid 2.0 Release 2011-06-23 15:35:53 UTC

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


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