This is an automated email from the ASF dual-hosted git repository. narro pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push: new f8246a797 fix: patching blueprint with `timeAfter=null` not working (#8517) f8246a797 is described below commit f8246a7977e7fc244ad6608dc38953970338c96a Author: Klesh Wong <zhenmian.hu...@merico.dev> AuthorDate: Thu Jul 31 17:17:13 2025 +0800 fix: patching blueprint with `timeAfter=null` not working (#8517) --- 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 {