This is an automated email from the ASF dual-hosted git repository. narro pushed a commit to branch release-v1.0 in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/release-v1.0 by this push: new e587ca1ea fix: patching blueprint with `timeAfter=null` not working (#8517) (#8518) e587ca1ea is described below commit e587ca1eadc855fdb69858abb04079262c483241 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Thu Jul 31 09:17:54 2025 +0000 fix: patching blueprint with `timeAfter=null` not working (#8517) (#8518) Co-authored-by: Klesh Wong <zhenmian.hu...@merico.dev> --- backend/server/services/blueprint.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/server/services/blueprint.go b/backend/server/services/blueprint.go index 4d106674d..470f8bcdd 100644 --- a/backend/server/services/blueprint.go +++ b/backend/server/services/blueprint.go @@ -221,6 +221,9 @@ func PatchBlueprint(id uint64, body map[string]interface{}) (*models.Blueprint, if err != nil { return nil, err } + if blueprint.SyncPolicy.TimeAfter != nil && blueprint.SyncPolicy.TimeAfter.IsZero() { + blueprint.SyncPolicy.TimeAfter = nil + } blueprint, err = saveBlueprint(blueprint) if err != nil {