Bug 715973 - Multitude of "Edit Ad: OK" messages
Summary: Multitude of "Edit Ad: OK" messages
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: 723887
TreeView+ depends on / blocked
 
Reported: 2011-06-23 15:49 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: Hitting submit on the edit attributes page for a job would result in 15 edits being attempted that may or may not have actually been intended. Cause: The code was not handling boolean values properly and was treating their values as changed the first time you edited the attributes for a job...subsequent edits would work as expected. Fix: We are now properly handling the boolean values (radio buttons) on the edit job attribute page. Result: Editing attributes should now result in an appropriate number of entries in the task indicator (yellow box) after editing job attributes.
Clone Of:
Environment:
Last Closed: 2011-09-07 16:42:57 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:49:25 UTC
When the Grid submission job's arguments are saved,
you get lots of "Edit Ad: OK" messages in the yellow
status box.

cumin-0.1.4840-1.el6 (already beyond MRG 2.0)

How reproducible: 100%

Steps to Reproduce:
1. Submit a job.
2. View it, press Edit Attributes, press Submit (even without
  editing anything).

Actual results: Lots of "Edit Ad: OK" messages emitted.

Expected results: There should be no message for arguments that
  were not changed.

Comment 1 Chad Roberts 2011-06-23 19:03:26 UTC
Fixed in revision 4850

Comment 2 Chad Roberts 2011-06-23 19:03:26 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:  Hitting submit on the edit attributes page for a job would result in 15 edits being attempted that may or may not have actually been intended.

Cause:  The code was not handling boolean values properly and was treating their values as changed the first time you edited the attributes for a job...subsequent edits would work as expected.

Fix:  We are now properly handling the boolean values (radio buttons) on the edit job attribute page.

Result:  Editing attributes should now result in an appropriate number of entries in the task indicator (yellow box) after editing job attributes.

Comment 4 Jan Sarenik 2011-07-22 12:22:43 UTC
Verified with cumin-0.1.4878-1.el5

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