-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use resolveSelect instead of select in saveEntityRecord #34584
Use resolveSelect instead of select in saveEntityRecord #34584
Conversation
Size Change: +14 B (0%) Total Size: 1.04 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In theory, the patch looks good, but e2e tests are failing
cacb332
to
174231c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After rebase the CI checks are green and I already said the code looks good 👍
Description
#33201 introduced a bug in the autosaving path of
saveEntityRecord
. ThegetAutosave
call wants to fetch the autosave for the given post and wait until it's fetched. Therefore the call should useresolveSelect
instead ofselect
. Kudos to @jsnajdr for catching this in #34501 (comment).Test plan
.. todo .., we could use a new automated test here