[ZBX-6597] The unreadable message on the login page if the debug mode is enabled for the "guest" user Created: 2013 May 13  Updated: 2017 May 30  Resolved: 2013 May 29

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

Type: Incident report Priority: Minor
Reporter: Alexander Vladishev Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: debug, guest, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File login.png    

 Description   

Full error message:

Login name or password is incorrect. [index.php:66 → CWebUser::login() → CAPIObject->login() → CAPIObject->__call() → czbxrpc::call() → czbxrpc::callAPI() → call_user_func() → CUser->login() → CZBXAPI::exception() in /home/zabbix/zabbix-svn/trunk/frontends/php/api/classes/CUser.php:931]



 Comments   
Comment by Toms (Inactive) [ 2013 May 27 ]

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

Comment by Eduards Samersovs (Inactive) [ 2013 May 27 ]

Tested!

Comment by Toms (Inactive) [ 2013 May 27 ]

Fixed in 2.1.0 r35894

Comment by richlv [ 2013 May 27 ]

(1) this must be documented somewhere. maybe in https://www.zabbix.com/documentation/2.0/manual/web_interface/frontend_sections/administration/users ?

tomtom RESOLVED. I don't think so.

<richlv> we have a hardcoded limitation that guest user can never have debug mode enabled. as far as i'm aware, that's not documented anywhere. that must absolutely be documented. REOPENED

jelisejev I've opened a separate ZBX about it - ZBX-6631.

tomtom Rich, you are wrong, we only limit login method, not the whole guest user. I think this is such a minor thing and we have dozens of alike things, I don't think we should document this one particular thing.

<richlv> as can seen above, i was referencing the fact that guest user can not use debug at all
while that seems to have been like that before as well, let's do it like this... let's document for now that enabling debug for the guest user will not work, and handle the problem itself in ZBX-6631

tomtom Users was able to see debug messages and after fix only one method where removed. Please read more carefully above.

Now we reverted this approach. RESOLVED in r36224.

jelisejev CLOSED.

Comment by Pavels Jelisejevs (Inactive) [ 2013 May 31 ]

(2) Debug mode should not be disabled for a whole API method. It's better to just trim the message in the frontend, like we discussed.

tomtom RESOLVED in r36224

jelisejev CLOSED.

Comment by Pavels Jelisejevs (Inactive) [ 2013 Jun 11 ]

TESTED.

Comment by Toms (Inactive) [ 2013 Jun 12 ]

Fixed in 2.1.0 r36317

Generated at Thu Mar 28 10:57:47 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.