Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
xabbuh commentedMay 22, 2020
Can we add a test case to prevent future regressions (IIRC this was done recently to satisfy fabbot.io)? |
Uh oh!
There was an error while loading.Please reload this page.
ro0NL commentedMay 25, 2020
Hi@pedrocasado can you also have a look at#36954 maybe :) |
src/Symfony/Component/DependencyInjection/Compiler/AbstractRecursivePass.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Tobion left a comment
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.
Tobion commentedMay 26, 2020
Please add a test as suggested by@xabbuh for at least one case like the Form transformation. |
pedrocasado commentedMay 26, 2020
@Tobion , can you give me some guidance? do you think this test is enough? |
nicolas-grekas left a comment
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...)
nicolas-grekas commentedMay 30, 2020
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