Bug 789416 - Handle better the case when cumin can't find the object user requested
Summary: Handle better the case when cumin can't find the object user requested
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: cumin
Version: Development
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
: ---
Assignee: grid-maint-list
QA Contact: MRG Quality Engineering
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-10 18:09 UTC by Stanislav Graf
Modified: 2016-05-26 20:23 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-26 20:23:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 783139 0 medium CLOSED Remove job using aviary isn't handled properly 2021-02-22 00:41:40 UTC

Internal Links: 783139

Description Stanislav Graf 2012-02-10 18:09:37 UTC
Description of problem:
There are cases when cumin can't find the object user requested. In this case cumin gives following message:
We can't find the object you requested
This often happens when a far-off agent stops or is disconnected.
  It may come back under a different database ID.  Try navigating anew
  from the site root.

Better option would be if cumin can navigate user to one widget back to closer page than the site root is. Maybe it needs to track for this purpose user browsing history.

Example:
Bug 783139, comment 0
Jump from: 
Grid::Submission::JOB1 
into 
Grid::Submission
(not site root)

Version-Release number of selected component (if applicable):
cumin-0.1.5192-1.el6.noarch

How reproducible:
100%

Steps to Reproduce:
0. Enable aviary for cumin 
INFO Enabled Aviary interface for job submission and control.
INFO Enabled Aviary interface for query operations.
1. Cumin - submit JOB1
2. Cumin - remove JOB1 (using button on page Grid::Submission::JOB1)
3. Cumin - submit JOB1
4. Cumin - remove JOB1
5. Cumin - you are still on removed JOB1 page instead of Grid::Submission
6. Cumin - try to look around and you get 'We can't find the object...'
  
Actual results:
Message:
We can't find the object you requested
This often happens when a far-off agent stops or is disconnected.
  It may come back under a different database ID.  Try navigating anew
  from the site root.

Expected results:
Go backward in user browsing history to find nearest existing widget/object.

Additional info:

Comment 3 Trevor McKay 2012-02-14 14:38:02 UTC
I have some ideas about how to do this, by tracking entry into frames during rendering and winding back up the ancestor list through enclosing frames when an error occurs.  Redirects to each level should succeed at some point, or wind all the way back to the main page.

Comment 4 Trevor McKay 2013-01-29 15:20:17 UTC
This has been improved incrementally since the initial bug report.  For certain specific cases, explicit redirects are made to an enclosing scope (submission is deleted, user is returned to the submissions list for example).

All other cases of missing objects should return the user to the main page with a notice that an object being displayed became unavailable.  Nicer than the original bug banner.

This could still be improved by tracking *which* object became unavailable.  

Finding an appropriate enclosing scope for an error at every level may be possible but is likely to be a lot of work.

Comment 5 Anne-Louise Tangring 2016-05-26 20:23:35 UTC
MRG-Grid is in maintenance and only customer escalations will be considered. This issue can be reopened if a customer escalation associated with it occurs.


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