Fix promotion of deleted relation returning invalid date time value error#27040
Fix promotion of deleted relation returning invalid date time value error#27040AlexGaillard merged 7 commits intomainfrom
Conversation
ComfortablyCoding
left a comment
There was a problem hiding this comment.
Please review previous attempts and context, the previous feedback in #26968 (review) still applies here.
…transformers" This reverts commit 79e1e86.
Good catch, fixed the root cause in |
There was a problem hiding this comment.
I believe these changes are still a symptom of the problem?
After this change a delete operation retains no meta information and treats the promote as the time the action took place, unlike update which retains its update by/update at information irrespective of the promotion time. This is in addition to any other possible repercussions of this change.
Update retains meta
Screen.Recording.2026-04-07.at.3.02.13.PM.mov
Delete loses it and treats promote
Screen.Recording.2026-04-07.at.3.02.43.PM.mov
I have updated |
…rror (#27040) * fix: use nullish coalescing for overwriteDefaults in payload transformers * Revert "fix: use nullish coalescing for overwriteDefaults in payload transformers" This reverts commit 79e1e86. * fix: return undefined defaultOverwrites for primitive arrays in splitRecursive * fix: propagate parent overwrite defaults to primitive arrays in splitRecursive * Update moody-papers-help.md --------- Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>
Scope
What's changed:
splitRecursivenow returns undefined instead of an empty array [] for defaultOverwrites when processing arrays of primitivesobject.map()call that reprocessed array elements without using the resultPotential Risks / Drawbacks
Tested Scenarios
date_updatedfieldReview Notes / Questions
Checklist
Fixes #26084