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

Problems of persistante between Panel and blocks #20

Open
GeneraleCauchemar opened this issue Nov 25, 2020 · 0 comments
Open

Problems of persistante between Panel and blocks #20

GeneraleCauchemar opened this issue Nov 25, 2020 · 0 comments

Comments

@GeneraleCauchemar
Copy link
Contributor

Version: 2.x-dev
Framework: Symfony 4.4 (Sonata Admin Bundle 3.77.0)

Two problems I've experienced but are quite hard to reproduce as they do not happen consistantly...

  • Upon creating a new entity, filling the fields and adding a new block (with content) to the Panel, submitting the form and displaying it once again, no blocks appear. I haven't been able to reproduce this morning so I can't say for certain if the Block or Panel have been persisted or not;

  • Upon updating an entity which already has a Panel with blocks inside (both Panel and Blocks have been persisted on creation), blocks disappear from the form when submitting in edit mode. Does not happen everytime either. From what I've seen though:

  • the blocks still exist in the database
  • the panel exists as well
  • but there is no link between them in the umanit_block_panel_blocks joint table

Do not hesitate to ask for snippets if necessary, I don't know what can be useful to you.
Thanks!

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

No branches or pull requests

1 participant