Skip to content
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

Blocks randomly enter an infinite loading state when they are added #10070

Open
TarikFojnica opened this issue Dec 19, 2024 · 4 comments · May be fixed by #10175
Open

Blocks randomly enter an infinite loading state when they are added #10070

TarikFojnica opened this issue Dec 19, 2024 · 4 comments · May be fixed by #10175
Assignees

Comments

@TarikFojnica
Copy link

Describe the Bug

Blocks will randomly get stuck in the loading state after adding them to the layout. After I remove that block and add it again, it will probably work the next time, but will stop working randomly again if I keep adding.

It's not related to block quantity, sometimes stops at the first block. If one block is stuck, and I add the next one, they would resolve together.

Payload.Error.-.Made.with.Clipchamp.mp4

Link to the code that reproduces this issue

https://github.com/payloadcms/payload/tree/main/templates/website

Reproduction Steps

The issue was reproduced in an official Website template. I uploaded the video that's demonstrating the issue. It was initially discovered on my custom project.

Which area(s) are affected? (Select all that apply)

area: ui

Environment Info

payload: 3.7.0
node: 22.11.0
next: 15.1.0

The issue was also reproduced in payload: 3.9.0 on both Mac and Windows dev environment, as well as production environment. It can also be reproduced in Node 20.9.0
@TarikFojnica TarikFojnica added status: needs-triage Possible bug which hasn't been reproduced yet validate-reproduction labels Dec 19, 2024
@TarikFojnica TarikFojnica changed the title Blocks tend to go into infinite loading state when adding them Blocks randomly enter an infinite loading state when they are added Dec 19, 2024
@jacobsfletch jacobsfletch self-assigned this Dec 19, 2024
@github-actions github-actions bot removed the status: needs-triage Possible bug which hasn't been reproduced yet label Dec 19, 2024
@jacobsfletch
Copy link
Member

Thank you for reporting on this @TarikFojnica. Sounds like this could be the same issue as described in #8961. Looking into it.

@1b0t
Copy link
Contributor

1b0t commented Dec 19, 2024

This did come up for we as well today. Project is on 3.9.

@jacobsfletch
Copy link
Member

jacobsfletch commented Dec 19, 2024

Thanks @1b0t. After looking into this further, that issue is probably unrelated. But I'm able recreate this issue on my end. We'll get a fix out shortly.

@leon-marzahn
Copy link

I have a decently complex page in payload and on the latest version i get this literally all the time
image

Is there any timeline for the fix yet? @jacobsfletch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants