Details
-
Type:
Problem report
-
Status: Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 4.0.16rc1, 4.4.4rc1, 5.0.0alpha1
-
Fix Version/s: 4.0.17rc1, 4.4.5rc1, 5.0.0alpha1, 5.0 (plan)
-
Component/s: Frontend (F)
-
Labels:
-
Environment:php 7.3
-
Team:Team D
-
Sprint:Sprint 59 (Dec 2019), Sprint 60 (Jan 2020)
-
Story Points:0.125
Description
Steps to reproduce:
- Go to Configuration->Maintenance
- Create Maintenance with mandatory fields
- Select period type different from "One time only"
- Save maintenance
- Open message details
Result:
For 4.0 and 4.4
A non well formed numeric value encountered [maintenance.php:191 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CMaintenance->create() → CMaintenance->removeSecondsFromTimes() → CConfigFile->{closure}() in conf/zabbix.conf.php:79]
For master is runtime error, when open time period overlay dialog:
Undefined index: timeperiodid [zabbix.php:21 -> require_once() -> ZBase->run() -> ZBase->processRequest() -> CView->getOutput() -> include() -> CConfigFile->{closure}() in app/views/popup.maintenance.period.php:31]
Attachments
Issue Links
- caused by
-
ZBXNEXT-5414 Maintenance period as popup
-
- Closed
-
- duplicates
-
ZBX-17094 Undefined indexes in maintenance popup
-
- Confirmed
-