Bug 715956 - Edit attributes page should not use update-interval
Summary: Edit attributes page should not use update-interval
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: cumin
Version: 2.0
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: 2.0.1
: ---
Assignee: Chad Roberts
QA Contact: Jan Sarenik
URL:
Whiteboard:
Depends On:
Blocks: 703196 723848 723887
TreeView+ depends on / blocked
 
Reported: 2011-06-23 15:45 UTC by Jan Sarenik
Modified: 2011-09-07 16:42 UTC (History)
3 users (show)

Fixed In Version: cumin-0.1.4863-1
Doc Type: Bug Fix
Doc Text:
Consequence: Job attributes could be tricky/impossible to edit if the cumin update-interval was set to a low value. Cause: The JobAdsEditor form had update_enabled set to true which caused that part of the page to refresh every <update-interval> seconds. Fix: turn off update_enabled for the JobAdsEditor Result: The job editor form will no longer reset for each update-interval.
Clone Of:
Environment:
Last Closed: 2011-09-07 16:42:54 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 Jan Sarenik 2011-06-23 15:45:19 UTC
When I try to edit attributes of a Grid job with a really
short update-interval set, I lose the entered values easily,
for each time the page refreshes, the forms contain the original
values and I do not make it to the Submit button in time.

How reproducible: 100%

Steps to Reproduce:
0. Set up Cumin with update-interval: 2 (2 seconds)
1. Submit a Grid job.
2. While it is running, try to edit its attributes.

Actual results: The page gets refreshed, filled text is lost.

Expected results: Edit arguments page does not refresh.

Additional info: I may add more if needed. Yet I am not sure if
  it is a gregression, have seen it on cumin-0.1.4840-1.el6
  which is alreay beyond MRG 2.0.

Comment 1 Chad Roberts 2011-06-23 17:41:51 UTC
Fixed in revision 4839

Comment 2 Chad Roberts 2011-06-23 17:41:51 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:
Consequence:  Job attributes could be tricky/impossible to edit if the cumin update-interval was set to a low value.

Cause:  The JobAdsEditor form had update_enabled set to true which caused that part of the page to refresh every <update-interval> seconds.

Fix:  turn off update_enabled for the JobAdsEditor

Result:  The job editor form will no longer reset for each update-interval.

Comment 4 Jan Sarenik 2011-07-22 11:50:30 UTC
Verified with cumin-0.1.4878-1.el5

Comment 5 errata-xmlrpc 2011-09-07 16:42:54 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.