Skip to content

Problems of persistante between Panel and blocks #20

@GeneraleCauchemar

Description

@GeneraleCauchemar

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions