[ZBX-13774] Cannot update item with specific multiple scheduling intervals. Created: 2018 Apr 20  Updated: 2024 Apr 10  Resolved: 2018 May 09

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A), Frontend (F)
Affects Version/s: 3.0.16
Fix Version/s: 3.0.18rc1, 4.0 (plan)

Type: Problem report Priority: Trivial
Reporter: Kim Jongkwon Assignee: Ivo Kurzemnieks
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File 01_items.png     PNG File 02_error.png    
Issue Links:
Duplicate
Team: Team B
Sprint: Sprint 32, Sprint 33
Story Points: 1

 Description   

Cannot update item with specific multiple scheduling intervals. (on Zabbix 3.0.16, 3.2.11)

  • Scheduling : wd1-6h3m55
  • Scheduling : wd7h1m55

This can be saved as a "Single" scheduling intervals.
However, Cannot save an item with these "Multiple" scheduling intervals because of error message:

Invalid interval "wd1-6h3m55": invalid hours "355". [items.php:516 ? CFrontendApiWrapper->update() ? CApiWrapper->__call() ? CFrontendApiWrapper->callMethod() ? CApiWrapper->callMethod() ? CFrontendApiWrapper->callClientMethod() ? CLocalApiClient->callMethod() ? call_user_func_array() ? CItem->update() ? CItemGeneral->checkInput() ? CApiService::exception() in include/classes/api/services/CItemGeneral.php:389]


 Comments   
Comment by Kim Jongkwon [ 2018 Apr 20 ]

FYI: This case, I can add 0 seconds. This scheduling will not produce any errors.

  • Scheduling : wd1-6h3m55s0
  • Scheduling : wd7h1m55s0
Comment by Ivo Kurzemnieks [ 2018 Apr 23 ]

RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-13774

Comment by Ivo Kurzemnieks [ 2018 May 09 ]

Fixed in pre-3.0.18rc1 r80619

Generated at Thu Apr 25 21:14:56 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.