[ZBX-11624] Undefined index: case_sensitive in regular expression configuration page Created: 2016 Dec 20  Updated: 2024 Apr 10  Resolved: 2017 Mar 03

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.0.8rc1, 3.2.4rc1, 3.4.0alpha1
Fix Version/s: 3.0.9rc1, 3.2.5rc1, 3.4.0alpha1

Type: Incident report Priority: Trivial
Reporter: Oleg Egorov (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: regularexpression, undefinedindex
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBX-11364 "Undefined index: case_sensitive" err... Closed
Team: Team A
Sprint: Sprint 2
Story Points: 1

 Description   

Administration->General->Regular expressions->New regular expression
And just press Add button

Result:

Undefined index: case_sensitive [adm.regexps.php:269 ? CView->render() ? include() in include\views\administration.general.regularexpressions.edit.php:66]


 Comments   
Comment by Valdis Murzins [ 2017 Mar 02 ]

(1) No translation strings changed.

sasha CLOSED

Comment by Valdis Murzins [ 2017 Mar 02 ]

Fixed in svn://svn.zabbix.com/branches/dev/ZBX-11624

Comment by Alexander Vladishev [ 2017 Mar 02 ]

(2) [F] Unused variable $i

foreach ($data['expressions'] as $i => &$expression) {
    if (!array_key_exists('case_sensitive', $expression)) {
        $expression['case_sensitive'] = 0;
    }
}

vmurzins RESOLVED in r66122

sasha CLOSED

Comment by Valdis Murzins [ 2017 Mar 03 ]

Fixed in 3.0.9rc1 r66124, 3.2.5rc1 r66125, 3.4.0alpha1 r66126

Generated at Wed May 08 22:31:26 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.