sonata-project / SonataArticleBundle

[Abandoned] Advanced article management
https://docs.sonata-project.org/projects/SonataArticleBundle
MIT License
11 stars 25 forks source link

Fragment deletion is not flagged anymore #278

Closed srascar closed 3 years ago

srascar commented 3 years ago

Sonata packages

sonata-project/admin-bundle            3.88.0
sonata-project/article-bundle            1.5.0

Subject

The support for the _delete field has been lost when submitting the fragment form field

Steps to reproduce

Expected results

When the fragment has beed deleted, $value where the key id corresponds to the deleted fragment should contain a _delete key

Actual results

$value where the key id corresponds to the deleted fragment is never received

VincentLanglet commented 3 years ago

The support for the _delete field has been lost when submitting the fragment form field

Do you know in which version ?

srascar commented 3 years ago

It happened on tag 1.3 https://github.com/sonata-project/SonataArticleBundle/commit/2a52eeda78328ef22ca819ec5210f5fdbb702d93#diff-ae864fbf4f9062ada8c1e8d888855a8f8b622efb0066e1ddcf7a0cf9d63b96e8L188

VincentLanglet commented 3 years ago

Do you know how to fix this ? Can you do the PR ? :)

srascar commented 3 years ago

Started https://github.com/sonata-project/SonataArticleBundle/pull/280