Skip to content

Fix BC break after split of ACL component #15520

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 0 commits into from
Closed

Conversation

wouterj
Copy link
Member

@wouterj wouterj commented Aug 12, 2015

Until symfony 3.0, the ACL component should still be included in Symfony to avoid BC breaks.

I don't think we can trigger deprecation errors here to warn people that they have to include an extra require.

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

@linaori
Copy link
Contributor

linaori commented Aug 12, 2015

👍 this should fix the issue where people depending on symfony/symfony do not get it.

@nicolas-grekas
Copy link
Member

This should not propagate up to master and we should instead tell people to add this dep explicitly in UPGRADING

@linaori
Copy link
Contributor

linaori commented Aug 12, 2015

@nicolas-grekas I agree, this should be a 2.8 only fix only. 3.0 is not supposed to have a dependency on the acl/acl-bundle in the core. This is something I missed in #15013 as I added it to require-dev instead of require for some reason.

I have made a start on the acl bundle as well. I might have to add this bundle in the same fashion to this composer.json: https://github.com/iltar/AclBundle/tree/feature/extract-from-core

@nicolas-grekas
Copy link
Member

In fact, I worked around this BC break in 1270e72 (same on me I did it silently :) )
This could be reverted on 2.3 on this PR is merged.

@wouterj wouterj closed this Aug 23, 2015
fabpot added a commit that referenced this pull request Aug 26, 2015
This PR was merged into the 2.8 branch.

Discussion
----------

Fix BC break after split of ACL from core

Rebased version of #15520

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

Commits
-------

7e9991e Fix BC break after split of ACL from core
Tobion referenced this pull request Oct 30, 2015
Conflicts:
	CHANGELOG-2.3.md
	CHANGELOG-2.7.md
	composer.json
	src/Symfony/Bridge/Twig/composer.json
	src/Symfony/Bundle/FrameworkBundle/composer.json
	src/Symfony/Bundle/SecurityBundle/composer.json
	src/Symfony/Component/Console/Tests/Helper/LegacyProgressHelperTest.php
	src/Symfony/Component/Console/Tests/Helper/LegacyTableHelperTest.php
	src/Symfony/Component/Console/composer.json
	src/Symfony/Component/DomCrawler/composer.json
	src/Symfony/Component/Form/Tests/FormRegistryTest.php
	src/Symfony/Component/Form/composer.json
	src/Symfony/Component/HttpFoundation/composer.json
	src/Symfony/Component/HttpKernel/Tests/Profiler/MongoDbProfilerStorageTest.php
	src/Symfony/Component/Intl/composer.json
	src/Symfony/Component/Ldap/composer.json
	src/Symfony/Component/Security/Core/composer.json
	src/Symfony/Component/Security/Csrf/composer.json
	src/Symfony/Component/Security/Http/composer.json
	src/Symfony/Component/Security/composer.json
	src/Symfony/Component/Serializer/Encoder/JsonEncoder.php
	src/Symfony/Component/Serializer/composer.json
	src/Symfony/Component/Templating/PhpEngine.php
	src/Symfony/Component/Translation/composer.json
	src/Symfony/Component/VarDumper/Tests/HtmlDumperTest.php
	src/Symfony/Component/VarDumper/composer.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants