[ZBX-6167] Partial updating not working in maintenance.update Created: 2013 Jan 23  Updated: 2024 Apr 10  Resolved: 2018 Feb 27

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 2.0.5rc1, 2.1.0, 3.0.13
Fix Version/s: 3.0.16rc1, 3.4.8rc1, 4.0.0alpha5, 4.0 (plan)

Type: Problem report Priority: Blocker
Reporter: Pavels Jelisejevs (Inactive) Assignee: Alexander Shubin
Resolution: Fixed Votes: 9
Labels: maintenance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBX-9588 Can't update maintenance timeperiod v... Closed
is duplicated by ZBX-9908 maintenance.update API requires activ... Closed
is duplicated by ZBX-11339 API: HTTP 500 on updating maintenance... Closed
is duplicated by ZBX-8884 API 'maintenance.update' cannot omit ... Closed
Team: Team B
Sprint: Sprint 26, Sprint 27, Sprint 28
Story Points: 2

 Description   

The maintenance.update method does not support partial updating: it validates unmodified parameters and triggers errors.



 Comments   
Comment by richlv [ 2014 Oct 11 ]

some patches attached in ZBX-8884

Comment by Dan Goscomb [ 2014 Oct 21 ]

The patch for 2.2.6 in ZBX-8884 works for us. Please consider merging for future versions

Comment by Raymond Kuiper [ 2017 Nov 06 ]

Why is this still a thing?

Comment by Raymond Kuiper [ 2017 Nov 13 ]

We should be able to update any property of the maintenance without redefining the entire maintenance.

Most important here for us would be the ability to change timeperiods without resubmitting hosts/groups and the other way around, submitting new hosts or groups without resubmitting time periods.

Comment by Naruto [ 2017 Nov 30 ]

Such an old bug, I can't believe this is still a thing.
This is crucial for automation projects.

Comment by Alexander Shubin [ 2018 Feb 27 ]

Implemented:

  • 3.0.16rc1 in r78081;
  • 3.4.8rc1 in r78083;
  • 4.0.0alpha5 (trunk) in r78084;
Generated at Fri Apr 26 10:00:35 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.