[ZBX-4580] In "Configuration->Actions->Operations" report element usrgrps_'7' can not be found anymore Created: 2012 Jan 24  Updated: 2017 May 30  Resolved: 2012 Feb 01

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 1.9.9 (beta)
Fix Version/s: 2.0.0rc1

Type: Incident report Priority: Blocker
Reporter: Igor Danoshaites (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

testFormAction::testActionCreate
PHPUnit_Framework_Exception: Response from Selenium RC server for testComplete().
ERROR: Element usrgrps_'7' not found.

trunk-FRONTEND-POSTGRESQL/frontends/php/tests/selenium/testFormAction.php:188

P.S. Something wrong with quotation marks.



 Comments   
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 25 ]

The problems is that in some pop ups, that have checkboxes (e.g. /popup.php?dstfrm=action.edit&srctbl=usrgrp&srcfld1=usrgrpid&srcfld2=name&multiselect=1), the 'srcfld1' is quoted before inserting it into the "name" and "id" attributes of the checkboxes, which: 1. produces invalid HTML, 2. breaks some tests. Then the code looks like this:

<input type="checkbox" value="8" name="usrgrps["8"]" id="usrgrps_"8"" class="input checkbox pointer">

This parameter should not be quoted.

We must also make sure, that we don't have any pop up with checkboxes where we try to insert any object names or other user input in the checkbox "name" or "id" attributes.

Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 25 ]

(1) Another bug caused by ZBXNEXT-1066: the trigger info pop up is not working in the item configuration list.

<pavels> RESOLVED.

<Vedmak> CLOSED

Comment by Alexey Fukalov [ 2012 Feb 01 ]

(2) [GUI]
Maps configuration seems broken.

<pavels> RESOLVED.

<Vedmak> CLOSED

Comment by Pavels Jelisejevs (Inactive) [ 2012 Feb 02 ]

(3) Fixed one more thing we talked about in r25158, please review.

REOPENED.

<Vedmak> CLOSED

Comment by Pavels Jelisejevs (Inactive) [ 2012 Feb 02 ]

Merged to trunk r25162.

CLOSED.

Generated at Thu Apr 25 02:15:21 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.