Bug 702624 - Cannot create new monitoring probe correctly, form is submitted too soon.
Summary: Cannot create new monitoring probe correctly, form is submitted too soon.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: WebUI
Version: 541
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
Assignee: Milan Zázrivec
QA Contact: Pavel Novotny
URL:
Whiteboard:
Depends On:
Blocks: sat541-blockers
TreeView+ depends on / blocked
 
Reported: 2011-05-06 12:06 UTC by Pavel Novotny
Modified: 2011-06-17 02:34 UTC (History)
2 users (show)

Fixed In Version: spacewalk-java-1.2.39-73
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-17 02:34:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Pavel Novotny 2011-05-06 12:06:18 UTC
Description of problem:
When you try to create new monitoring probe and you change value of the "Command" select box, the form, instead of refresh, is immediately submitted (moreover with the old value) as if you clicked on "Create probe" button. So you cannot enter any of the probe-specific fields or/and the probe is created instantly (if there are no mandatory fields).

Version-Release number of selected component (if applicable):
spacewalk-java-1.2.39-61.el5sat

How reproducible:
Always
(experienced in Firefox 4 and Google Chrome 11)

Steps to Reproduce:
1. Enable monitoring (Admin->configuration->Enable Monitoring)
2. Create a probe suite and open its details page.
3. In "Probes" tab, click on "create new probe" link.
4. Change "Command" select box from "Load" to "CPU Usage".
  
Actual results:
Form is submitted, wrong probe (Linux::Load) is instantly created and you are redirected to the probe list page. 

Expected results:
Form is only refreshed with the probe-specific fields (in this case with fields like "CPU Load X-Minute Average", etc.). 

Additional info:
Regression, this behaviour is not present in Satellite 5.4.0.

Comment 1 Milan Zázrivec 2011-05-09 12:16:08 UTC
satellite.git SATELLITE-5.4: 5c15666f5e6b377fdb68510841cde36d875e70e1

Comment 3 Pavel Novotny 2011-05-11 09:59:28 UTC
Verified with spacewalk-java-1.2.39-73.

With this package applied, I don't experience issues described in comment 0 anymore. Creation of any probe suite through WebUI works fine now.

Comment 4 Šimon Lukašík 2011-06-08 09:31:48 UTC
SanityOnly verified in stage with spacewalk-java-1.2.39-82.el5sat

Testing procedure:
- automated test
- manual attempt

Comment 5 Clifford Perry 2011-06-17 02:34:20 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.

https://rhn.redhat.com/errata/RHSA-2011-0879.html


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