From fc5cc26812e36707565ac98d109954534b3930e4 Mon Sep 17 00:00:00 2001 From: "sentry[bot]" <39604003+sentry[bot]@users.noreply.github.com> Date: Wed, 20 May 2026 19:21:31 +0200 Subject: [PATCH] fix(entry): Guard entryable_attributes for non-transaction entries in bulk_update! (#1877) Co-authored-by: sentry[bot] <39604003+sentry[bot]@users.noreply.github.com> --- app/models/entry.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/entry.rb b/app/models/entry.rb index 5dbcf2090..84c2719f2 100644 --- a/app/models/entry.rb +++ b/app/models/entry.rb @@ -455,6 +455,7 @@ class Entry < ApplicationRecord if bulk_attributes.present? attrs = bulk_attributes.dup attrs.delete(:date) if entry.split_child? + attrs.delete(:entryable_attributes) unless entry.transaction? if attrs.present? attrs[:entryable_attributes] = attrs[:entryable_attributes].dup if attrs[:entryable_attributes].present?