Comments (2)
Hey @ikenox — the reason that you're seeing this behavior is that you are not passing _status: 'draft'
into the document.
You are specifying draft: true
, but the document was published prior and so without explicitly passing _status: 'draft'
, the document updates will continue to be published vs. saved as a new draft.
If you add _status: 'draft'
, or omit the _status: 'published'
from your test when you initially create the document, the document will be both created as draft and updated as a draft.
from payload.
This issue has been automatically locked.
Please open a new issue if this issue persists with any additional detail.
from payload.
Related Issues (20)
- Bug in @payloadcms/richtext-slate when upgrading to Payload 2.28.0 related to faceless-ui/modal
- Lexical custom block in new document (beta 108 regression) HOT 8
- Autosave makes it impossible to create new (localized) documents HOT 2
- create-payload-app creates project with duplicate graphql versions HOT 1
- delete operation doesn't return deleted id HOT 2
- Join Field: Incorrect Parent Relationship Assignment When Adding a New Document HOT 1
- Row Field > alignment issue HOT 2
- Radio Group's name is not convert to snake-case format in PostgreSQL
- plugin-cloud expiring S3 credentials
- Fields contained in row field inside localized group don't get saved
- Label function for document view tab does not apply selected language translation correctly HOT 1
- Potential deadlock on concurrent updates
- Index on related fields not being created in database (Postgres) HOT 5
- Error: input image exeeds pixel limit when uploading through localAPI
- payload-locked-documents error on every CMS client action HOT 3
- Join Field + Relationship Field + Array Fields don't play nicely HOT 2
- API-Key Authorization returning 403 HOT 1
- Admin component does not work after upgrade from beta.67 to beta.108 HOT 2
- Upgrading to beta 108 causes duplicate entries when editing and drafts not working as expected HOT 3
- Join table collision with Collection Sidebar HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from payload.