Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Assets] Make templating.helper.assets service available again for BC reasons #13871

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

Closed
wants to merge 2 commits into from

Conversation

wouterj
Copy link
Member

@wouterj wouterj commented Mar 8, 2015

This service has always been available and the SonataDoctrinePhpcrOdmBundle relied on this services. Moving it to the templating_php config (which is only loaded when PHP templating is enabled, which is often not the case) is a BC break that makes it very hard to support <2.7 and 2.7.

This should be reverted for the 3.0 branch (master), as it should be removed in 3.0. However, it should be added to the UPRADE-3.0.md file.

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? yes
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

@egeloen
Copy link

egeloen commented Mar 8, 2015

👍 This is something which have broken one of my bundle too (See egeloen/IvoryCKEditorBundle#157)

@wouterj wouterj force-pushed the bc_assets_helper branch from ca093c6 to 048cc8a Compare March 8, 2015 16:43

<!--
This should be in templating_php.xml but unfortunately, Twig depends on this helper.
As the Twig extension depending on this service is deprecated, this will be removed in 3.0.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Twig does not depend on it anymore, so the comment should be updated to reflect why we are adding this service here back.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, not 100% sure if it's a really great sentence now though

@wouterj wouterj force-pushed the bc_assets_helper branch from 048cc8a to a133fbf Compare March 9, 2015 07:41
@fabpot
Copy link
Member

fabpot commented Mar 9, 2015

New comment looks good to me. @wouterj Can you also update the 3.0 UPGRADE file to mention the availability of this service?

@wouterj
Copy link
Member Author

wouterj commented Mar 10, 2015

@fabpot I've added the removal (and its replacement) to the UPGRADE-3.0 file. I'm not sure if it's correct though (it's very difficult to follow the whole asset things with all its BC layers).

@wouterj
Copy link
Member Author

wouterj commented Mar 13, 2015

Can this please be merged? It's holding up CMF's tests to check if it is future compatible.

@fabpot
Copy link
Member

fabpot commented Mar 13, 2015

Thank you @wouterj.

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.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.