-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
Issue with dynamic zone. #14968
Comments
can you share your schemas and component schemas? This will help debug when someone is available. |
I update strapi to the last version and issue is there. I can send you in private the component, type and single type defined. |
Hey @toxicity1985, we're still unable to reproduce your error, we've edited our functions to remove this I didn't fully understand this comment:
Can you try to re-explain this? potentially which schema examples? Otherwise to address this issue we would need you to supply a reproducible example, this might be quicker tbf. |
Hi all, I'm experiencing the same issue so I add some information to help you all in debugging this problem. I have the following schema called learning unit Then I have a component Unit that has a one to many relation with my learning unit schema At the end I have another schema called learning module that has Unit as a repeatable component The problem mentioned in this issue is present is in the learning module objects. Basically when I create a new entry I correctly populate the relations in the repeatable component and I save it but when I refresh the page the relations are not visible anymore in the entry page while I can see them in main table of the schema. Here a quick video: issue.movPlease, let me know if the problem is clear or if you need more information. Best, |
hi @mirkods thank you for sharing this, I will try to replicate this issue
in the meantime, #15139 is included in today's release, when the new version is out could you try updating your project to see if you're still experiencing this issue? 🙏 |
Hi @ronronscelestes,
I confirm that with the version 4.5.4 I'm still having this problem. Mirko |
hi again @mirkods could any of you share a minimal viable reproduction of the issue, so we could reproduce it and find a solution? |
Hi @ronronscelestes, Bug reportSchemas that use repeatable components that has a relation inside are saved correctly but the dashboard doesn't show the relations anymore after saving the entry. System information
Steps to reproduce the behavior
Screen RecordingHere a screen recording of the steps described above Hope that now you guys are able to reproduce the bug correctly. Best, |
Hello @ronronscelestes, I tried reproducing this issue on Strapi Demo (https://strapi.io/demo), and it's also not working there. Steps to reproduce the behavior
After saving, you will not see any of the ingredients added on point 6, but if you return to the recipes list, you will see the number of added ingredients. |
thank you @marcosantonocito and @mirkods for the very helpful indications - we found the issue, you can read more about it in the PR that I have opened and linked to this issue! |
Thanks @ronronscelestes. Are you able to provide us an estimate time for the release of this fix? Mirko |
@mirkods I think it should be merged for the next release on 28th of December 🙂 |
Bug report
Required System information
Describe the bug
Impossible to edit a single-type with dynamic zone and content inside
Steps to reproduce the behavior
-> Create a dynamic zone in a single-type.
-> Add content in it.
-> Save and then reopen the content and it does not appear. But i can see the content through the debug bar( the api call).
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
The text was updated successfully, but these errors were encountered: