You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Field is set to null if the user does not have access #11543
If I previously updated another field, it would delete the group value if present in the update data, and then fallback to the old value. But now, access is executed after fallback, so the fallback is deleted and it will instead attempt to set the field to null. In this case, that fails, as the field is required. Still unexpected. But if not required, it will just wipe the field, without the user having touched it!
Hey @SimonVreman I saw your comment on the other PR, I will look into this first thing. Thanks for bringing it to our attention. I'll look at your PR and write some tests for the issue it solved and the one it created.
Activity
SimonVreman commentedon Mar 5, 2025
Opened a PR #11544
JarrodMFlesch commentedon Mar 5, 2025
Hey @SimonVreman I saw your comment on the other PR, I will look into this first thing. Thanks for bringing it to our attention. I'll look at your PR and write some tests for the issue it solved and the one it created.
SimonVreman commentedon Mar 5, 2025
Reproduction repo: https://github.com/SimonVreman/fix-field-fallback-access-data-loss
Steps to recreate validation error:
Steps to recreate data loss:
fix: beforeValidate deleting value when access returns false (payload…
github-actions commentedon Mar 5, 2025
🚀 This is included in version v3.27.0
github-actions commentedon Mar 13, 2025
This issue has been automatically locked.
Please open a new issue if this issue persists with any additional detail.