[ZBX-12487] undefined index when updating item prototype Created: 2017 Aug 08  Updated: 2024 Apr 10  Resolved: 2017 Aug 16

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 3.4.0beta2
Fix Version/s: 3.4.0rc2, 3.4 (plan)

Type: Problem report Priority: Major
Reporter: Vitaly Zhuravlev Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: itemprototype, undefinedindex
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File screenshot-1.png    
Team: Team B
Sprint: Sprint 14
Story Points: 0.5

 Description   
Updated: Item prototype "Allocation units for storage $1" on "Template SNMP Disks".
Updated: Item prototype "Allocation units for storage $1" on "Template SNMP OS Windows".
Updated: Item prototype "Allocation units for storage $1" on "Template SNMP OS Linux".
Undefined index: type [disc_prototypes.php:453 ? CFrontendApiWrapper->update() ? CApiWrapper->__call() ? CFrontendApiWrapper->callMethod() ? CApiWrapper->callMethod() ? CFrontendApiWrapper->callClientMethod() ? CLocalApiClient->callMethod() ? call_user_func_array() ? CItemPrototype->update() ? CItemPrototype->inherit() ? CItemGeneral->inheritDependentItems() in include/classes/api/services/CItemGeneral.php:1474]
Undefined index: type [disc_prototypes.php:453 ? CFrontendApiWrapper->update() ? CApiWrapper->__call() ? CFrontendApiWrapper->callMethod() ? CApiWrapper->callMethod() ? CFrontendApiWrapper->callClientMethod() ? CLocalApiClient->callMethod() ? call_user_func_array() ? CItemPrototype->update() ? CItemPrototype->inherit() ? CItemGeneral->inheritDependentItems() in include/classes/api/services/CItemGeneral.php:1474]

To reproduce:

  • Update item prototype's key from default Template SNMP disks template.


 Comments   
Comment by Gregory Chalenko [ 2017 Aug 09 ]

(1) No translation strings changes.

sasha CLOSED

Comment by Alexander Vladishev [ 2017 Aug 16 ]

Successfully tested. Have a look at my changes in r71309 before a merge.

gcalenko Reviewed changes, thank you.

Comment by Gregory Chalenko [ 2017 Aug 16 ]

Fixed in pre-3.4.0rc2 r71323.

Generated at Sat Apr 27 06:35:46 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.