Closed hdodov closed 1 year ago
@jmikrut I'm going to allow myself to tag you in because I think that's a pretty big issue, since content is getting lost.
Hey @hdodov—thanks for the issue report. We are on this immediately. Expect an answer back shortly!
Just letting you know that I updated Payload and the issue is resolved indeed. Thank you very much!
This issue has been automatically locked. Please open a new issue if this issue persists with any additional detail.
Link to reproduction
https://github.com/hdodov/payload/tree/bug-original-content-on-save
To Reproduce
Prerequisites:
Reproduction:
Describe the Bug
Changing untranslatable fields should not reset other fields to the default locale values.
I've demonstrated this in the following video:
https://github.com/payloadcms/payload/assets/5570098/7b531a24-14e7-4be4-8ad8-2c6f5310c3fe
In the video, I have:
en
andes
content
withlocalized: true
andslug
without localizationAs per the reproduction steps, the following happens:
content
to"english"
andslug
to"test"
content
to"spanish"
slug
to"test another"
content
is reset to"english"
upon refreshing the page, rather than remaining"spanish"
The issue appears to come from the versions functionality. Without versions and drafts enabled, I wasn't able to reproduce this.
Payload Version
1.10.0