Bug 682447 - The text that indicates when the page was last updated doesn't show when the page update fails
Summary: The text that indicates when the page was last updated doesn't show when the ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: cumin
Version: 1.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 2.0.1
: ---
Assignee: Chad Roberts
QA Contact: Jan Sarenik
URL:
Whiteboard:
Depends On:
Blocks: 723887
TreeView+ depends on / blocked
 
Reported: 2011-03-05 16:18 UTC by Ernie
Modified: 2011-09-07 16:42 UTC (History)
4 users (show)

Fixed In Version: cumin-0.1.4840-1
Doc Type: Bug Fix
Doc Text:
Cause: The page updated timestamp would be updated even when the page update failed with no indication of a failure. Consequence: The user may be lead to believe that they were seeing the most recent stats, when in fact, the stats may be stale. Fix: If an update attempt fails (easiest way to see this is to shut down cumin), we now display "Last update failed" next to the timestamp. Result: When an update fails, it will be more obvious to the user.
Clone Of:
Environment:
Last Closed: 2011-09-07 16:42:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1249 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise MRG Grid 2.0 security, bug fix and enhancement update 2011-09-07 16:40:45 UTC

Description Ernie 2011-03-05 16:18:53 UTC
The text in the upper right corner of the page indicates when the page was last updated. However, when the update fails, there is no indication. The text still shows that the page was updated.

If cumin is stopped or restarted while the page is still displayed, the background updates will silently fail.

The "page updated indicator" should show when an update failed and the time it happened.

To reproduce:
Display a cumin page
Stop cumin
The page updated indicator will continue to change, even though the page updates are failing.

Or

Display a cumin page
Wait for the page updated indicator to turn into a "Resume Updates" button
restart cumin
Press the Resume Updates button
The page updated indicator will change, but the page will not actually get updated. This is because the user needs to re-login first.

Comment 1 Chad Roberts 2011-05-26 15:48:57 UTC
Fix available in revision 4790.

Comment 2 Chad Roberts 2011-05-26 15:48:57 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:  The page updated timestamp would be updated even when the page update failed with no indication of a failure.

Consequence:  The user may be lead to believe that they were seeing the most recent stats, when in fact, the stats may be stale.

Fix:  If an update attempt fails (easiest way to see this is to shut down cumin), we now display "Last update failed" next to the timestamp.

Result:  When an update fails, it will be more obvious to the user.

Comment 4 Jan Sarenik 2011-07-21 17:51:07 UTC
Verified in cumin-0.1.4878-1.el5
The message is:
  Last update failed 2011-07-21 19:50:26

Comment 5 errata-xmlrpc 2011-09-07 16:42:32 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/RHSA-2011-1249.html


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