From c47d8c6dbe81eadd3eac1c3fea89b1cbbd839cf1 Mon Sep 17 00:00:00 2001 From: kolaente Date: Mon, 3 Jun 2024 17:02:50 +0200 Subject: [PATCH] fix(task): do not try to set bucket for filtered bucket configuration --- pkg/models/tasks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/models/tasks.go b/pkg/models/tasks.go index d7645bff3..d5a2a2d60 100644 --- a/pkg/models/tasks.go +++ b/pkg/models/tasks.go @@ -656,7 +656,7 @@ func checkBucketLimit(s *xorm.Session, t *Task, bucket *Bucket) (err error) { // Contains all the task logic to figure out what bucket to use for this task. func setTaskBucket(s *xorm.Session, task *Task, originalTask *Task, view *ProjectView, targetBucketID int64) (err error) { - if view.BucketConfigurationMode == BucketConfigurationModeNone { + if view.BucketConfigurationMode != BucketConfigurationModeManual { return }