[ZBX-15539] Incorrect error message when changing item type to dependent item with no master item Created: 2019 Jan 29  Updated: 2024 Apr 10  Resolved: 2019 Mar 04

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A), Frontend (F)
Affects Version/s: 4.0.4rc2, 4.2.0beta1
Fix Version/s: 4.0.6rc1, 4.2.0beta2, 4.2 (plan)

Type: Problem report Priority: Trivial
Reporter: Miks Kronkalns Assignee: Miks Kronkalns
Resolution: Fixed Votes: 0
Labels: dependentitems, items, masteritems, permissions
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Causes
caused by ZBXNEXT-3006 A cache to provide multiple metrics o... Closed
Team: Team B
Team: Team B
Sprint: Sprint 48, Jan 2019, Sprint 49 (Feb 2019)
Story Points: 0.25

 Description   

Steps to reproduce:

  1. Log into Zabbix frontent with super admin user
  2. Create SSH agent (most likely works with otherĀ items as well) item and save it
  3. Open that item for update and change item type to 'Dependent item'
  4. Leave 'Master item' field empty and save changes

Result:

1) Form doesn't appear and user cannot fix error;
2) There are two error messages, second one is incorrect:

Field "Master item" is mandatory.
No permissions to referred object or it does not exist!

Generated at Fri Apr 19 18:20:01 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.