Closed wbloszyk closed 4 years ago
I think before ' add support for extensions 0.x to block-bundle 4.x to resolve core-bundle conflict' can be implemented, sonata-project/form-extensions needs to support Symfony 5. Otherwise the Symfony 5 compatibility of block-bundle 4.x is undone.
@jorrit CoreBundle is almost dropped in Sonata 3 and should not be support in Sonata 4 (as extensions 0.x). More info here: https://github.com/sonata-project/dev-kit/issues/697
I should update this issue becouse some things are changed.
If that is the case, is it even a goal to support Symfony 5 in Sonata 3?
The goal for me now is drop all deprecated bundles and make stable sandbox 3.0 based on Symfony4.4 and Sonata 3.
IMHO sonata-project team is more focus on realease AdminBundle 4 now. Anyway I will help if it will be possible.
Close in favor for https://github.com/sonata-project/dev-kit/issues/785
Feature Request
After watching some issue with Blocks (https://github.com/sonata-project/SonataMediaBundle/pull/1737, https://github.com/sonata-project/SonataMediaBundle/pull/1732) I came up with an idea.
All sonata-project stable bundles(Sonata 3) using
block-bundle 3.x
but 4.x is released.block-bundle 4.0 upgrade change:
AbstractAdminBlockService/AdminBlockServiceInterface
toEditableBlockService
Resolve something like: (I will add example son - PR for SonataNewsBundle)
AbstractAdminBlockService/AdminBlockServiceInterface
implementationsAbstractAdminBlockService
EditableBlockServce
EditableBlockServie
should not callAbstra...
methods and vice versaReturn type hints return type hints
Create the same Class in Block like in example:
Before start - resolve conflict with CoreBundle:
TODO: