-
Type:
Incident report
-
Resolution: Fixed
-
Priority:
Blocker
-
None
-
Affects Version/s: 1.8
-
Component/s: Frontend (F)
-
Environment:ZABBIX 1.8, RHEL5, MySQL 5, PHP 5.x
Symptoms:
- The GUI does not allow to update the "Parent service" field in IT-service configuration anymore.
How to reproduce:
- Go to Configuration -> IT services
- Click on a service -> Edit service
- On the following pop-up page, click on "Change" for field "Parent service"
- Find an empty list, e.g. no parent service to chose
How to fix:
The following patch fixes the issue:
– snip –
— frontends/php/services_form.php.orig 2009-12-12 14:05:00.000000000 +0100
+++ frontends/php/services_form.php 2009-12-12 14:04:12.000000000 +0100
@@ -234,7 +234,7 @@
$description = $db_service_data['name'];
- $description = new CSpan($description,'link');
+ $description = new CLink($description,'#');
$description->setAction('javascript:
window.opener.document.forms[0].elements[\'parent_name\'].value = '.zbx_jsvalue($db_service_data['name']).';
window.opener.document.forms[0].elements[\'parentname\'].value = '.zbx_jsvalue($db_service_data['name']).';
– snap –