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

[DI] Fix Preloader exception when preloading a class with an unknown parent/interface #38713

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 27, 2020

Conversation

rgeraads
Copy link

@rgeraads rgeraads commented Oct 25, 2020

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #38693
License MIT

Fixes Preloader exception when preloading a class with an unknown parent/interface.

@derrabus
Copy link
Member

Did you check if this problem exists on 4.4 as well? If yes, we need to fix it there.

@rgeraads
Copy link
Author

Copy link
Member

@derrabus derrabus left a comment

Choose a reason for hiding this comment

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

The change looks correct to me. Just some remarks on the test setup.

@derrabus
Copy link
Member

@derrabus looks like it!

Can you rebase your changes on 4.4 then? If not, that's okay as well. I can do that while merging.

@derrabus derrabus added this to the 4.4 milestone Oct 25, 2020
@derrabus
Copy link
Member

Oh, and thank you very much for your PR, of course. 😃

@rgeraads rgeraads force-pushed the preloader-exception branch from 7059fae to 173fa68 Compare October 25, 2020 13:04
@rgeraads rgeraads changed the base branch from 5.1 to 4.1 October 25, 2020 13:04
@rgeraads rgeraads changed the base branch from 4.1 to 4.4 October 25, 2020 13:05
@rgeraads rgeraads requested a review from derrabus October 25, 2020 13:05
@rgeraads
Copy link
Author

rgeraads commented Oct 25, 2020

Can you rebase your changes on 4.4 then? If not, that's okay as well. I can do that while merging.

I rebased it now. Will you port the fix to 5.1 then?

@derrabus
Copy link
Member

derrabus commented Oct 25, 2020

Will you port the fix to 5.1 then?

The branches are merged periodically. Changes merged to the 4.4 branch will also be shipped with the next 5.1 release.

@rgeraads rgeraads changed the title Fix Preloader exception when having a class with an unknown parent/interface Fix Preloader exception when preloading a class with an unknown parent/interface Oct 25, 2020
@nicolas-grekas nicolas-grekas changed the title Fix Preloader exception when preloading a class with an unknown parent/interface [DI] Fix Preloader exception when preloading a class with an unknown parent/interface Oct 27, 2020
@nicolas-grekas
Copy link
Member

Thank you @rgeraads.

@nicolas-grekas nicolas-grekas merged commit 19804e1 into symfony:4.4 Oct 27, 2020
@rgeraads rgeraads deleted the preloader-exception branch October 27, 2020 10:10
This was referenced Oct 28, 2020
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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.