8000 [Form] Fixed error bubbling from DateTime widget - Issue #5270 by mpiecko · Pull Request #5280 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[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

Merged
merged 2 commits into from
Aug 30, 2012
Merged

[Form] Fixed error bubbling from DateTime widget - Issue #5270 #5280

merged 2 commits into from
Aug 30, 2012

Conversation

mpiecko
Copy link
Contributor
@mpiecko mpiecko commented Aug 16, 2012

This is related to #5270

@travisbot
Copy link

This pull request fails (merged 8ea1607 into 1996c1f).

@mpiecko
Copy link
Contributor Author
mpiecko commented Aug 16, 2012

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 ...

@stloyd
Copy link
Contributor
stloyd commented Aug 16, 2012

It's GitHub =)

@mpiecko
Copy link
Contributor Author
mpiecko commented Aug 17, 2012

Bad GitHub :)

@@ -108,6 +108,8 @@ public function buildForm(FormBuilderInterface $builder, array $options)
));
}
} else {
$options['error_bubbling'] = true;
Copy link
Contributor

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;

@webmozart
Copy link
Contributor

Could you please add a test to DateTimeTypeTest?

@mpiecko
Copy link
Contributor Author
mpiecko commented Aug 17, 2012

Sure!

@travisbot
Copy link

This pull request passes (merged 58ebd1b into 1996c1f).

@webmozart
Copy link
Contributor

👍

fabpot added a commit that referenced this pull request Aug 30, 2012
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:
@fabpot fabpot merged commit 58ebd1b into symfony:master Aug 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0