Describe the Bug
Having more versions of a collection the stale dialog opens after publishing and changing it, even if it is impossible that the collection has been changed by another user. This happens if the autosave in versions configuration of that collection is disabled and the page/collection config has a localized field in combination with the global defaultLocalePublishOption configured to 'active'.
Link to the code that reproduces this issue
https://github.com/PH1P5/payload-stale-issue-with-defaultLocalePublishOption
Reproduction Steps
- clone the repo, install dependencies
- start the app e.g. in dev mode
- create a page in the payload backend and press "Publish in en" to publish it
- change the page (e.g. page title) press "Publish in en" to publish it
- change the page again press "Publish in en" to publish it
- now, having 2 versions of the page, change its content (e.g. page title)
actual: Stale dialog appears
expected: No Stale dialog - Editors are able to proceed changing the page content
Which area(s) are affected?
Not sure
Environment Info
Since payload version 3.78.0 we see this issue.
Describe the Bug
Having more versions of a collection the stale dialog opens after publishing and changing it, even if it is impossible that the collection has been changed by another user. This happens if the autosave in versions configuration of that collection is disabled and the page/collection config has a localized field in combination with the global defaultLocalePublishOption configured to 'active'.
Link to the code that reproduces this issue
https://github.com/PH1P5/payload-stale-issue-with-defaultLocalePublishOption
Reproduction Steps
actual: Stale dialog appears
expected: No Stale dialog - Editors are able to proceed changing the page content
Which area(s) are affected?
Not sure
Environment Info