-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Fixes sprintf(): Too few arguments in form transformer #36907
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
Can we add a test case to prevent future regressions (IIRC this was done recently to satisfy fabbot.io)? |
Hi @pedrocasado can you also have a look at #36954 maybe :) |
src/Symfony/Component/DependencyInjection/Compiler/AbstractRecursivePass.php
Outdated
Show resolved
Hide resolve
8000
d
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.
Seems like most (all?) of this was already fixed, e.g. in #36684
You need to rebase.
Please add a test as suggested by @xabbuh for at least one case like the Form transformation. |
@Tobion , can you give me some guidance? do you think this test is enough?
|
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.
(let's skip adding tests for this...)
Thank you @pedrocasado. |
Similar to: #29482
Fixes the form reverse transformation when the method viewToNorm is called within a value with the character %:
Before : "sprintf(): Too few arguments"
After : Form reverse transformation works.
Reference : http://php.net/manual/function.sprintf.php