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

3.x into Master #6712

Merged
merged 33 commits into from
Jan 2, 2021
Merged

3.x into Master #6712

merged 33 commits into from
Jan 2, 2021

Conversation

VincentLanglet
Copy link
Member

No description provided.

@VincentLanglet
Copy link
Member Author

I also would like to merge #6713 into 3.x and merge again 3.x into master.

@VincentLanglet VincentLanglet force-pushed the master branch 2 times, most recently from 127eb1f to ecf6130 Compare December 16, 2020 23:24
SonataCI and others added 2 commits December 18, 2020 07:26
When working with adding and removing entities from the CollectionType field, it can happen that the array index not starts with 0 but has an length > 0. This leads to an error since that index 0 is unset. So using twig first function here to handle this case.
@benrcole
Copy link

Hi Team, Is this merge awaiting a particular timeframe?

@VincentLanglet
Copy link
Member Author

Hi Team, Is this merge awaiting a particular timeframe?

I need a review from another contributor. And I'd like to merge #6713 in order to fix the conflict again.
The main blocking point is that it's Christmas, people have a life. I'm sorry, be patient, we're doing our best :)

@benrcole
Copy link

benrcole commented Dec 23, 2020 via email

franmomu and others added 3 commits December 23, 2020 21:04
Since sonata-project/admin-bundle 3.83, Pool is just used as an
Admin registry and for global options has been replaced by
SonataConfiguration which holds those options. To access to
these options from Twig, there is a global Twig sonata_config
variable.

So there is no need to pass an instance of Pool to Twig
templates anymore, the pool is not supposed to be used
directly in templates.
This interface was added in 4.x branch, this commit imports it
removing type and return declarations to make it compatible with
RouteCollection which implements this interface.

In sonata 4 AbstractAdmin::configureRoutes() method receives a
RouteCollectionInterface, importing this interface in 3.x would
allow users to update their code and define this method as in 4
easing the upgrading process.
@VincentLanglet VincentLanglet requested a review from a team December 30, 2020 11:30
@VincentLanglet
Copy link
Member Author

This is ready @sonata-project/contributors :)

@VincentLanglet VincentLanglet merged commit fa47670 into sonata-project:master Jan 2, 2021
@VincentLanglet VincentLanglet deleted the master branch January 2, 2021 12:34
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

Successfully merging this pull request may close these issues.

8 participants