Skip to content

Fix validations not actually running against changes - #4574

Merged
kitsuta merged 1 commit into
mainfrom
fix-validations
Jul 22, 2026
Merged

Fix validations not actually running against changes#4574
kitsuta merged 1 commit into
mainfrom
fix-validations

Conversation

@kitsuta

@kitsuta kitsuta commented Jul 22, 2026

Copy link
Copy Markdown
Member

We were avoiding committing a session when validating new objects, but this also meant we weren't actually applying changes to them. This was only affecting a few instances in production, but would have affected a lot more due to the changes in #4573 (which was never deployed). We now apply changes to an object regardless of whether we can use begin_nested().

Also adds an alert to the showcase application page if you already have a studio registered, which is how we found this issue.

We were avoiding committing a session when validating new objects, but this also meant we weren't actually applying changes to them. This was only affecting a few instances in production, but would have affected a lot more due to the changes in #4573 (which was never deployed). We now apply changes to an object regardless of whether we can use begin_nested().
@kitsuta
kitsuta merged commit 540a527 into main Jul 22, 2026
3 checks passed
@kitsuta
kitsuta deleted the fix-validations branch July 22, 2026 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant