[ZBXNEXT-1712] Disable the ability to switch hosts when creating an item, application or web scenario. Created: 2013 Apr 17  Updated: 2013 May 17  Resolved: 2013 May 08

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: 2.2.0
Fix Version/s: 2.2.0

Type: Change Request Priority: Major
Reporter: Pavels Jelisejevs (Inactive) Assignee: Eduards Samersovs (Inactive)
Resolution: Fixed Votes: 0
Labels: forms, frontend, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Currently when creating a new item it is possible to change the host that will contain the item. Same for applications and web scenarios. This feature is hardly helpful and causes difficulties with implementation of ZBXNEXT-1407.

To remove this feature we'll need to:
1. Forbid creating item and applications when no host is select in the list. That way we'll always now, to which host the object belongs to. For consistency, we should do the same for triggers (it's already done for graphs).
2. Then the "host" field can be completely removed from the application, item and web scenario forms.

This should be done before continuing work on ZBXNEXT-1407.



 Comments   
Comment by Eduards Samersovs (Inactive) [ 2013 Apr 18 ]

Implemented in development branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-1712

Comment by Pavels Jelisejevs (Inactive) [ 2013 Apr 19 ]

(1) The "create trigger" button must also be disabled if no host is selected in the trigger configuration page.

Eduards RESOLVED

jelisejev CLOSED.

Comment by Pavels Jelisejevs (Inactive) [ 2013 Apr 19 ]

(2) Please revert the change to the user agent select in the web scenario form. Such changes should be done in separate tasks.

Eduards RESOLVED

jelisejev CLOSED.

Comment by Pavels Jelisejevs (Inactive) [ 2013 Apr 19 ]

TESTED.

Comment by Eduards Samersovs (Inactive) [ 2013 Apr 19 ]

Fixed in versions pre-2.1.0 (beta) r35135

Comment by Alexander Vladishev [ 2013 Apr 26 ]

(3) Cannot create a web scenario with selected host.

[Create scenario] button is disabled if URL doesn't have hostid parameter.

Simple way to reproduce the issue:

  • open any web scenario configuration form;
  • press [Cancel] button

Eduards RESOLVED in development branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-1712

sasha CLOSED

Comment by Eduards Samersovs (Inactive) [ 2013 Apr 30 ]

Fixed in versions pre-2.2.0 (beta) r35342

Comment by Toms (Inactive) [ 2013 May 02 ]

(4) Unable to update template item when accessing it via Host Item link.

Undefined index: 10084 [items.php:471 → CAPIObject->update() → CAPIObject->__call() → czbxrpc::call() → czbxrpc::callAPI() → call_user_func() → CItem->update() → CItem->checkInput() → CItemGeneral->checkInput() in C:\zabbix\ZBXREV\frontends\php\api\classes\CItemGeneral.php:235]
No interface found. [items.php:471 → CAPIObject->update() → CAPIObject->__call() → czbxrpc::call() → czbxrpc::callAPI() → call_user_func() → CItem->update() → CItem->checkInput() → CItemGeneral->checkInput() → CZBXAPI::exception() in C:\zabbix\ZBXREV\frontends\php\api\classes\CItemGeneral.php:251]

Eduards RESOLVED in svn://svn.zabbix.com/branches/dev/ZBXNEXT-1712 r.35460

tomtom REOPENED. Not fixed, same error appears on same conditions.

Eduards RESOLVED r.35486

tomtom Now empty mass update on items disables them. But look like this problem does not appear in trunk anymore, so this can be closed

Generated at Thu Apr 25 15:38:22 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.