From 669aedeea3cfdb5e3781a603f8c3d72f3b608ade Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 22 Dec 2023 05:15:09 +0100 Subject: [PATCH] Fix https://github.com/firefly-iii/firefly-iii/issues/8282 --- app/Services/Internal/Update/GroupUpdateService.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Services/Internal/Update/GroupUpdateService.php b/app/Services/Internal/Update/GroupUpdateService.php index 1c9c203fa1..6bd80ff311 100644 --- a/app/Services/Internal/Update/GroupUpdateService.php +++ b/app/Services/Internal/Update/GroupUpdateService.php @@ -80,6 +80,7 @@ class GroupUpdateService sprintf('Will now update journal #%d (only journal in group #%d)', $first->id, $transactionGroup->id) ); $this->updateTransactionJournal($transactionGroup, $first, reset($transactions)); + $transactionGroup->touch(); $transactionGroup->refresh(); app('preferences')->mark(); @@ -94,6 +95,7 @@ class GroupUpdateService if (0 === count($updated)) { app('log')->error('There were no transactions updated or created. Will not delete anything.'); + $transactionGroup->touch(); $transactionGroup->refresh(); app('preferences')->mark(); @@ -115,6 +117,7 @@ class GroupUpdateService } app('preferences')->mark(); + $transactionGroup->touch(); $transactionGroup->refresh(); return $transactionGroup;