-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
status: needs-triagePossible bug which hasn't been reproduced yetPossible bug which hasn't been reproduced yet
Description
Describe the Bug
While saving a document, the autosave will still trigger. This can lead to an autosave happening while a document is being published/manually saved.
I believe this is not the intended behavior. The other way around, while an autosave is in progress, publishing is disabled by the UI.
Link to the code that reproduces this issue
will provide if neccessary
Reproduction Steps
- Have hooks that take 5 seconds to save a document
- Edit some data
- Immediately publish the edit.
Now an autosave will trigger, while the manual save is in progress.
Which area(s) are affected? (Select all that apply)
area: ui
Environment Info
Binaries:
Node: 22.17.1
npm: 10.9.2
Yarn: 1.22.19
pnpm: 10.12.1
Relevant Packages:
payload: 3.46.0
Metadata
Metadata
Assignees
Labels
status: needs-triagePossible bug which hasn't been reproduced yetPossible bug which hasn't been reproduced yet