-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Translation][FrameworkBundle] Add failing test for BC break regarding translation resources. #25079
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
Conversation
->expects($this->any()) | ||
->method('load') | ||
->will($this->returnValue($this->getCatalogue('fr', array( | ||
'foo' => 'foo (fr)', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can be inlined I think.
->expects($this->any()) | ||
->method('load') | ||
->will($this->returnValue($this->getCatalogue('fr', array( | ||
'bar' => 'bar (fr)', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can be inlined I think.
@jenkoian would you like to work on a fix? anyone else who would like to investigate? |
@nicolas-grekas yeah I can have a go at a fix, before I waste any time though, is it agreed this is a bug? Expected behaviour is that loaders added after init should work the same as loaders added before init? |
any hint from anyone? @yceruto maybe? |
See @stof's comments on #23057 (comment)
So likely, I can just close this PR? Although there are instances this could manifest outside a circular reference I guess, like the test case. |
OK, I'm closing then. @stof if you think otherwise, please report here :) |
Adding a failing test case to prove a BC break caused by #23057