[ZBX-10958] Not showing username in Action information. Also getting error. Created: 2016 Jun 30 Updated: 2018 Dec 07 Resolved: 2016 Oct 28 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 3.0.3 |
Fix Version/s: | 3.0.6rc1, 3.2.2rc1, 3.4.0alpha1 |
Type: | Incident report | Priority: | Blocker |
Reporter: | Dmitrijs Lamberts | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | alerts, permissions, users | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
CentOS 7.2.1511, zabbix_server (Zabbix) 3.0.3 Revision 60173. |
Attachments: | bug1.jpg bug2.png bug3.png | ||||
Issue Links: |
|
Description |
To reproduce this bug:
If both users are in same usergroup nothing of this happens. |
Comments |
Comment by Gunars Pujats (Inactive) [ 2016 Sep 20 ] |
(1) No translation strings changed oleg.egorov CLOSED |
Comment by Gunars Pujats (Inactive) [ 2016 Sep 20 ] |
(2) Running unit tests with PHPUnit v5.5 (stable) resulted with warnings: 1) CLocalApiClientTest::testCallIncorrect with data set #0 ('Api', 'method', array(), 'token', 100, 'Incorrect API "Api".') PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead 2) CLocalApiClientTest::testCallIncorrect with data set #1 ('user', 'incorrectMethod', array(), 'token', 100, 'Incorrect method "user.incorr...thod".') PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead 3) CLocalApiClientTest::testCallIncorrect with data set #2 ('user', 'get', array(), null, 200, 'Not authorised.') PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead 4) CLocalApiClientTest::testCallIncorrect with data set #3 ('user', 'get', array(), '', 200, 'Not authorised.') PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead 5) CLocalApiClientTest::testCallIncorrect with data set #4 ('Apiinfo', 'Version', array(), '', 100, 'The "Apiinfo.Version" method ...meter.') PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead 6) CLocalApiClientTest::testCallIncorrect with data set #5 ('Apiinfo', 'Version', null, null, 100, 'Cannot call method "Apiinfo.V...eters.') PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead RESOLVED in r62617 oleg.egorov CLOSED |
Comment by Gunars Pujats (Inactive) [ 2016 Sep 20 ] |
(3) If non-super-admin user creates screen of type "Action log", and log contains messages for users from other groups, then page displays errors: RESOLVED in r62618 oleg.egorov CLOSED |
Comment by Gunars Pujats (Inactive) [ 2016 Sep 20 ] |
RESOLVED in development branch svn://svn.zabbix.com/branches/dev/ZBX-10958 |
Comment by Natalja Romancaka [ 2016 Sep 21 ] |
(4) [F] If non-super-admin user opens screen of type "Action log" - in Recipients column there are gunarspujats Moved to CLOSED |
Comment by Oleg Egorov (Inactive) [ 2016 Sep 23 ] |
(5) Other, "Inaccessible user" related issue in Configuration->Actions not displayed "Send message to users:" if user is "Inaccessible". gunarspujats Moved to ZBX-11273 CLOSED |
Comment by Oleg Egorov (Inactive) [ 2016 Sep 23 ] |
(6) Not critical issue, but recommendation. gunarspujats RESOLVED in r62830 oleg.egorov CLOSED |
Comment by Oleg Egorov (Inactive) [ 2016 Oct 05 ] |
TESTED |
Comment by Gunars Pujats (Inactive) [ 2016 Oct 05 ] |
Fixed in:
|
Comment by Oleksii Zagorskyi [ 2016 Oct 19 ] |
not sure where the limit was implemented, but |
Comment by Oleksii Zagorskyi [ 2016 Oct 19 ] |
The issue with error on event details is reproducible om 2.4.8 too, as: Undefined offset: 1 [tr_events.php:121 → getActionMessages() in /zab/www-dev/2.4/include/actions.inc.php:862] |