Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Use UUID for error codes for Form validator. #20011

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

Closed
wants to merge 1 commit into from

Conversation

Koc
Copy link
Contributor

@Koc Koc commented Sep 21, 2016

Q A
Branch? 2.8
Bug fix? no
New feature? no
BC breaks? tiny, but it allowed http://symfony.com/doc/current/contributing/code/bc.html#changing-classes
Deprecations? no
Tests pass? I hope so :)
Fixed tickets -
License MIT
Doc PR -

2.8.12
-----

* [BC BREAK] Changed values of the Symfony\Component\Form\Extension\Validator\Constraints\Form constants.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We cannot have a BC break in a patch release. Is it really a BC break? People MUST use the constant anyway, not the value.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, so can I just remove [BC BREAK] from the changelog?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should remove everything here :) Changelogs for patch versions are generated automatically.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fabpot done!

@Koc Koc force-pushed the form-validator-uuid branch from 0b0479c to 3693e83 Compare September 21, 2016 16:22
@fabpot
Copy link
Member

fabpot commented Sep 21, 2016

👍

@fabpot
Copy link
Member

fabpot commented Sep 21, 2016

Thank you @Koc.

fabpot added a commit that referenced this pull request Sep 21, 2016
This PR was submitted for the 2.8 branch but it was merged into the 2.7 branch instead (closes #20011).

Discussion
----------

Use UUID for error codes for Form validator.

| Q             | A
| ------------- | ---
| Branch?       | 2.8
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | tiny, but it allowed http://symfony.com/doc/current/contributing/code/bc.html#changing-classes
| Deprecations? | no
| Tests pass?   | I hope so :)
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

6dbb186 Use UUID for error codes for Form validator.
@fabpot fabpot closed this Sep 21, 2016
@Koc
Copy link
Contributor Author

Koc commented Sep 21, 2016

@fabpot I've choosen 2.8 branch because uuid codes was added in 2.8, not in 2.7

@Koc
Copy link
Contributor Author

Koc commented Sep 21, 2016

See #15154 for details

@xabbuh
Copy link
Member

xabbuh commented Sep 21, 2016

I agree with @Koc. We should revert the merge on the 2.7 branch and merge it into 2.8 afterwards.

@fabpot
Copy link
Member

fabpot commented Sep 21, 2016

Oops, sorry about that. Going to fix that now.

fabpot added a commit that referenced this pull request Sep 21, 2016
@fabpot
Copy link
Member

fabpot commented Sep 21, 2016

Done

fabpot added a commit that referenced this pull request Sep 21, 2016
* 2.7:
  Revert "minor #20011 Use UUID for error codes for Form validator. (Koc)"
  Use UUID for error codes for Form validator.
  Fixed regression when exception message swallowed when logging it.
  [HttpFoundation] Enable memcached tests with the latest memcached extension
fabpot added a commit that referenced this pull request Sep 21, 2016
This PR was merged into the 2.8 branch.

Discussion
----------

Use UUID for error codes for Form validator.

| Q             | A
| ------------- | ---
| Branch?       | 2.8
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | tiny, but it allowed http://symfony.com/doc/current/contributing/code/bc.html#changing-classes
| Deprecations? | no
| Tests pass?   | I hope so :)
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

3693e83 Use UUID for error codes for Form validator.
fabpot added a commit that referenced this pull request Sep 21, 2016
* 2.8:
  [VarDumper] Fix test
  Revert "minor #20011 Use UUID for error codes for Form validator. (Koc)"
  Use UUID for error codes for Form validator.
  Use UUID for error codes for Form validator.
  Fixed regression when exception message swallowed when logging it.
  [HttpFoundation] Enable memcached tests with the latest memcached extension
fabpot added a commit that referenced this pull request Sep 21, 2016
* 3.1:
  [VarDumper] Fix test
  Revert "minor #20011 Use UUID for error codes for Form validator. (Koc)"
  Use UUID for error codes for Form validator.
  Use UUID for error codes for Form validator.
  Fixed regression when exception message swallowed when logging it.
  [HttpFoundation] Enable memcached tests with the latest memcached extension
@Koc Koc deleted the form-validator-uuid branch September 23, 2016 19:56
@Koc Koc restored the form-validator-uuid branch September 23, 2016 21:43
This was referenced Oct 3, 2016
@Koc Koc deleted the form-validator-uuid branch July 23, 2017 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.