Skip to content

[HttpKernel] Fix BC break in Kernel name #29032

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

Merged
merged 1 commit into from
Oct 31, 2018

Conversation

jvasseur
Copy link
Contributor

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

Fix a BC break introduced by #28810 where the name of the kernel where change form the name of the folder containing the kernel class to the name of the folder containing the project.

This introduced a bug with deployment processes where the cache warmup is done before moving the application to a folder with a different name and removing the possibility to compile the container (either by moving to a read-only filesystem or by removing the config directory).

@ro0NL
Copy link
Contributor

ro0NL commented Oct 30, 2018

(failures related though :))

@nicolas-grekas
Copy link
Member

looks like this breaks some tests

@jvasseur jvasseur force-pushed the fix-kernel-name-bc-break branch from 299f1ce to 872a772 Compare October 30, 2018 20:45
@jvasseur
Copy link
Contributor Author

jvasseur commented Oct 30, 2018

I should have check the tests before pushing, they should pass now.

@nicolas-grekas nicolas-grekas added this to the 4.2 milestone Oct 30, 2018
@Tobion
Copy link
Contributor

Tobion commented Oct 31, 2018

Good catch, thanks @jvasseur.

@Tobion Tobion merged commit 872a772 into symfony:master Oct 31, 2018
Tobion added a commit that referenced this pull request Oct 31, 2018
This PR was merged into the 4.2-dev branch.

Discussion
----------

[HttpKernel] Fix BC break in Kernel name

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

Fix a BC break introduced by  #28810 where the name of the kernel where change form the name of the folder containing the kernel class to the name of the folder containing the project.

This introduced a bug with deployment processes where the cache warmup is done before moving the application to a folder with a different name and removing the possibility to compile the container (either by moving to a read-only filesystem or by removing the config directory).

Commits
-------

872a772 Fix BC break in Kernel name
@jvasseur jvasseur deleted the fix-kernel-name-bc-break branch October 31, 2018 08:52
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.

6 participants