-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.0.0-beta.32] Duplicating block issues with blocks field type #6401
Comments
@joedawson I am unable to reproduce this issue, I tried with both postgres and mongodb. Could you create a repo that I can clone down to ensure we are seeing the same thing? I would also try recreating this in the simplest collection you possibly can. Thanks! |
@JarrodMFlesch thanks for the response. Not able to replicate it either after forking and copying over my collections (hooks included), config etc. I just upgraded the project I worked on at the time of reporting this issue to the latest beta ( It's worth noting, this does only appear to happen locally and not when deployed (I'm deploying to Vercel). I've also tried:
Anything else I can maybe try that I may have missed? |
Hi @joedawson - I've tested this with version Could I take a look at your A few things that would be worth a check:
If you are still seeing this bug in your project with |
Hey @JessChowdhury, thanks for taking a look at this issue. I have created a stripped back version of my project as requested here, which of course contains To answer your questions:
In short, I experience the duplicate issue I originally reported only when running my dev server. Let me know if you need any more details - thanks! |
@joedawson thank you for the reproduction! I was finally able to recreate this bug by enabling Fix opened in this PR. |
This issue has been automatically locked. |
Link to reproduction
No response
Describe the Bug
I have a couple of very basic blocks, not doing anything fancy. When I am duplicating any block, whilst it's duplicated, an additional duplicate also appears - however it is empty.
Any blocks that follow the duplicates, also have their state cleared. You can see in the video below, when I duplicate a block the extra duplicate appears as well as the original media block I add is also cleared.
However, not shown in the video, when I publish the value of the blocks re-appear.
Kapture_2024-05-14_at_18.17.22.webm
Here's my fields for reference:
To Reproduce
Payload Version
3.0.0-beta.32
Adapters and Plugins
db-postgres, storage-s3, plugin-seo
The text was updated successfully, but these errors were encountered: