[ZBX-6027] Global notification messages don't work in fullscreen frontend mode. Again. Created: 2012 Dec 26  Updated: 2017 May 30  Resolved: 2013 Jan 04

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.0.2, 2.1.0
Fix Version/s: 2.0.5rc1, 2.1.0

Type: Incident report Priority: Major
Reporter: Oleksii Zagorskyi Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: fullscreen, guimessages, regression
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate

 Description   

We had identical problem in ZBX-2842 (fixed in 1.8.3)

This is identical but reproducible starting from 2.0.2, I mean 2.0.1 is ok in this regard.

This is caused (I've checked) by changes in ZBX-2876 (gui messaging should not work in popups).

As in 2.0 documentation is not specified that GUI messages don't work in frontend fullscreen mode -> so I consider this as a regression -> a bug -> should be fixed (IMO).
http://www.zabbix.com/documentation/2.0/manual/web_interface/user_profile/global_notifications



 Comments   
Comment by Toms (Inactive) [ 2012 Dec 27 ]

Fixed in dev. branch: svn://svn.zabbix.com/branches/dev/ZBX-6027

Comment by Oleksii Zagorskyi [ 2012 Dec 27 ]

The fix above successfully tested.

(1)
But I've just observed another problem, which would be good fix here, all up to you.
This problem also just appeared and not included to any release.

> Trigger severity "Recovery" events not shown in notification messages.
in other words - OK events are missing

Broken in rev 32192 - ZBX-4789
SVN log message: - A......... ZBX-4789 fixed HostGroups (improved performance)

Need to check is this related only to notification messages or not ?

REOPENED

dotneft The problem in dbConditionInt function. Just example:

$options['value'] = array(1,0);

SDII($options['value']); -> Array
(
    [0] => 1
    [1] => 0
)

SDII(dbConditionInt('e.value', $options['value'])); -> e.value=1

array_multisort($options['value'], SORT_NUMERIC, SORT_ASC);

SDII(dbConditionInt('e.value', $options['value'])); -> e.value IN (0,1)

tomtom CLOSED. I think this should be separate ZBX.

zalex_ua ok, moved to (10) in the ZBX-4789.
CLOSED

Comment by Eduards Samersovs (Inactive) [ 2013 Jan 03 ]

(2) Please rename "showGUIMessaging" to "showGuiMessaging"
Coding standards:
Abbreviations and acronyms should not be uppercase when used as name:

exportHtmlSource(); // NOT: exportHTMLSource();
openDvdPlayer(); // NOT: openDVDPlayer();

tomtom RESOLVED in r32437
Eduards CLOSED

Comment by Eduards Samersovs (Inactive) [ 2013 Jan 03 ]

(3) Two spaces in line:189
$showGUIMessaging = (!defined('ZBX_PAGE_NO_MENU')

tomtom RESOLVED in r32437
Eduards CLOSED

Comment by Eduards Samersovs (Inactive) [ 2013 Jan 04 ]

Tested

Comment by Toms (Inactive) [ 2013 Jan 08 ]

Fixed in 2.0.5rc1 r32517, 2.1.0 r32518

Generated at Fri Apr 19 08:04:32 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.