Bug 1318747 - When editing already created alert condition Measurement Absolute Value Threshold the base units are incorrect
Summary: When editing already created alert condition Measurement Absolute Value Thres...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: UI
Version: JON 3.3.5
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ER01
: JON 3.3.8
Assignee: Josejulio Martínez
QA Contact: Prachi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-17 16:33 UTC by Filip Brychta
Modified: 2017-02-16 18:44 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-16 18:44:55 UTC
Type: Bug


Attachments (Terms of Use)
screen shot (138.00 KB, image/png)
2016-03-17 16:33 UTC, Filip Brychta
no flags Details
Alert screen-shot (139.19 KB, image/png)
2017-01-24 14:46 UTC, Prachi
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:0285 0 normal SHIPPED_LIVE Red Hat JBoss Operations Network 3.3.8 bug fix update 2017-02-16 23:44:22 UTC

Description Filip Brychta 2016-03-17 16:33:19 UTC
Created attachment 1137444 [details]
screen shot

Description of problem:
See attached picture, the condition should use % as base unit but it's showing B as base unit.

Version-Release number of selected component (if applicable):
Version :	
3.3.0.GA Update 05
Build Number :	
4242930:1c9f74b

How reproducible:
Always

Steps to Reproduce:
1. go to some platform resource -> Alerts -> Definition -> New
2. file name, add Measurement Absolute Value Threshold condition, set metric to System Load, set some value e.g.4, save it 
3. edit created condition

Actual results:
Metric Value: 4%
Base units: B

Expected results:
Base units should be correct

Additional info:
Alerts work correctly it seems to be just UI issue.

Comment 2 Josejulio Martínez 2016-12-07 20:31:46 UTC
PR 277 [1] should fix this.

[1] https://github.com/rhq-project/rhq/pull/277

Comment 3 Josejulio Martínez 2016-12-27 18:29:31 UTC
commit eed7a631b41bfdf8b6256aba9308ea629d2d9222
Merge: 8038182 e2a02b5
Author: Michael Burman <yak>
Date:   Wed Dec 21 15:18:16 2016 +0200

    Merge pull request #277 from josejulio/bugs/1318747
    
    Bug 1318747 - Loads the current unit when editing.


commit e2a02b57f5c946f9a45436f5423c5e999066d81c
Author: Josejulio Martínez <jmartine>
Date:   Wed Dec 7 11:20:15 2016 -0600

    Bug 1318747 - Loads the current unit when editing.
    
    It was loading the unit of the first available entry and not taking into account the one being edited.

Comment 6 Prachi 2017-01-24 14:45:13 UTC
This Issue is resolved in JON 3.3.8 ER01.

Please find attached screen-shot.

Comment 7 Prachi 2017-01-24 14:46:51 UTC
Created attachment 1243945 [details]
Alert screen-shot

Comment 8 errata-xmlrpc 2017-02-16 18:44:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2017-0285.html


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