Bug 1145648

Summary: Long alert definition templates list is displayed partially
Product: [JBoss] JBoss Operations Network Reporter: Jirka Kremser <jkremser>
Component: Core Server, UIAssignee: Jirka Kremser <jkremser>
Status: CLOSED CURRENTRELEASE QA Contact: Armine Hovsepyan <ahovsepy>
Severity: medium Docs Contact:
Priority: unspecified    
Version: JON 3.3.0CC: ahovsepy, hrupp, jkremser, mfoley, tsegismo
Target Milestone: ER04   
Target Release: JON 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1129051 Environment:
Last Closed: 2014-12-11 14:00:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1129051    
Bug Blocks: 1145195    
Attachments:
Description Flags
long_alert_list none

Description Jirka Kremser 2014-09-23 12:25:10 UTC
+++ This bug was initially created as a clone of Bug #1129051 +++

Description of problem:
Long alert definition templates list is displayed partially

Version-Release number of selected component (if applicable):


How reproducible:always


Steps to Reproduce:
1.Create (or import) many alert definition templates for the same resource.
2.Open Alert Definition Templates page for this resource.
3.

Actual results:
Only part of templates are displayed.
e.g., I imported 100 templates and only 50 was displayed.

Expected results:
All created/imported templates are displayed in the list (or it may be scrolled down to see the rest
ones).

Additional info:

--- Additional comment from Jirka Kremser on 2014-08-12 05:29:45 EDT ---

This is related (has the same root cause) to bug 959455

--- Additional comment from Jirka Kremser on 2014-08-12 09:34:52 EDT ---

branch:  master
link:    https://github.com/rhq-project/rhq/commit/104ff1c86
time:    2014-08-12 15:18:49 +0200
commit:  104ff1c861a245ba74b9c7090b9d9909773e3323
author:  Jirka Kremser - jkremser
message: [BZ 1129051] - Long alert definition templates list is displayed
         partially - calling setPagingInfo(response, result); solves the
         issue. I've fixed that for various data sources.


This bug is more general and the issue is there for various datasources.. UI with bundle deployments seem to have the same symptoms.

Comment 1 Thomas Segismont 2014-09-23 13:04:45 UTC
Cherry-picked over to release/jon3.3.x branch

commit 8e9a5261b5a6c11e77dc40dd0689302ca84a7e45
Author: Jirka Kremser <jkremser>
Date:   Tue Aug 12 13:32:57 2014 +0200
    
    (cherry picked from commit 104ff1c861a245ba74b9c7090b9d9909773e3323)
    Signed-off-by: Thomas Segismont <tsegismo>
    
    Conflicts:
        modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/inventory/resource/detail/monitoring/ResourceScheduledMetricDatasource.java

Comment 2 Simeon Pinder 2014-10-01 21:33:24 UTC
Moving to ON_QA as available for test with build:
https://brewweb.devel.redhat.com/buildinfo?buildID=388959

Comment 4 Armine Hovsepyan 2014-10-14 09:04:06 UTC
verified in JON 3.3 ER04
thank you

Comment 5 Armine Hovsepyan 2014-10-14 09:04:33 UTC
Created attachment 946766 [details]
long_alert_list