-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Form] Fixed error bubbling from DateTime widget - Issue #5270 #5280
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
Travisbot shows something like this in it's log:
So is it my PR ot Travis CI who fails ... ? I saw this error in some other PR's ... |
It's GitHub =) |
Bad GitHub :) |
@@ -108,6 +108,8 @@ public function buildForm(FormBuilderInterface $builder, array $options) | |||
)); | |||
} | |||
} else { | |||
$options['error_bubbling'] = true; |
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.
Please leave the options array unchanged and set this value after line 148 instead:
$dateOptions['input'] = $timeOptions['input'] = 'array';
$dateOptions['error_bubbling'] = $timeOptions['error_bubbling'] = true;
Could you please add a test to DateTimeTypeTest? |
Sure! |
👍 |
Commits ------- 58ebd1b [Form] Fixed error bubbling from DateTime widget - Issue #5270 8ea1607 Update src/Symfony/Component/Form/Extension/Core/Type/DateTimeType.php Discussion ---------- [Form] Fixed error bubbling from DateTime widget - Issue #5270 This is related to #5270 --------------------------------------------------------------------------- by mpiecko at 2012-08-16T19:37:45Z Travisbot shows something like this in it's log: [Composer\Downloader\TransportException] The "http://nodeload.github.com/phingofficial/phing/zipball/2.4.12" file could not be downloaded (HTTP/1.1 500 Internal Server Error) So is it my PR ot Travis CI who fails ... ? I saw this error in some other PR's ... --------------------------------------------------------------------------- by stloyd at 2012-08-16T20:40:39Z I 7B14 t's GitHub =) --------------------------------------------------------------------------- by mpiecko at 2012-08-17T09:36:31Z Bad GitHub :) --------------------------------------------------------------------------- by bschussek at 2012-08-17T11:21:39Z Could you please add a test to DateTimeTypeTest? --------------------------------------------------------------------------- by mpiecko at 2012-08-17T12:23:40Z Sure! --------------------------------------------------------------------------- by bschussek at 2012-08-30T08:20:08Z :+1:
This is related to #5270