Closed steveninety closed 1 year ago
Encountered the same issue.
Some more details:
It only happens with the postgres adapter, deleting blocks with mongodb works fine.
It can be reproduced, by setting up the website-template with npx create-payload-app
.
@JarrodMFlesch I'm still having this issue after updating to 2.0.15, I can add blocks but not remove them.
@ficeco did you update @payloadcms/db-postgres
to 0.1.12
as well?
@ficeco can you update the @payloadcms/db-postgres adapter and try again?
@JarrodMFlesch That did the trick, thank you!
This issue has been automatically locked. Please open a new issue if this issue persists with any additional detail.
Link to reproduction
-
Describe the Bug
Inside a collecrion, removing a block and then saving the document, brings back the block. The Patch request's payload excludes the to-be-deleted block, as should be, but the response includes it once again. No errors in the terminal or console.
This happens to all my blocks (not specifically nested like #3635).
To Reproduce
P.s. I'm a noob and couldn't follow along with the reproduction guide (e.g. how do I reproduce using specific package versions, where do I add env variables...)
Payload Version
2.0.13
Adapters and Plugins
"@payloadcms/bundler-vite": "^0.1.3", "@payloadcms/db-postgres": "^0.1.10", "@payloadcms/plugin-form-builder": "^1.0.15", "@payloadcms/plugin-nested-docs": "^1.0.8", "@payloadcms/richtext-lexical": "^0.1.15",