Wednesday, September 23, 2026
1 change · 17.0
Resolved issues and error corrections
This fixes an issue where using the chatter on a form could discard unsaved edits if the form could not be saved, such as when a required field was empty. Users now keep their current changes and can correct validation errors without losing their work.
Original PR description
Before this commit, posting a message in the chatter of a form view with `post_refresh` lost the unsaved changes of an invalid record, for instance after emptying a required field. The form showed the invalid field for a moment, then came back with the saved values. The same happens on the other chatter actions that reload the form, such as a follower change. This happens because the chatter reloads the record after it tries to save it, even when the save fails. This commit fixes the issue by reloading the record only when the save succeeds.