Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

[Validator] add class name to the cache key#20745

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

Closed
Simperfit wants to merge3 commits intosymfony:3.1fromSimperfit:fix/20685

Conversation

@Simperfit
Copy link
Contributor

@SimperfitSimperfit commentedDec 3, 2016
edited
Loading

QA
Branch?3.1
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#20685
LicenseMIT
Doc PR

Adding the class name to the cache key to avoid collision

@SimperfitSimperfit changed the titlefix - #20685: add class name to the cache key[WIP] fix - #20685: add class name to the cache keyDec 3, 2016
@SimperfitSimperfitforce-pushed thefix/20685 branch 2 times, most recently from28454d0 to122c01dCompareDecember 4, 2016 21:05
@SimperfitSimperfit changed the title[WIP] fix - #20685: add class name to the cache keyfix - #20685: add class name to the cache keyDec 4, 2016
@SimperfitSimperfit changed the titlefix - #20685: add class name to the cache key[Validator] fix - #20685: add class name to the cache keyDec 5, 2016
Copy link
Member

@dunglasdunglas left a comment

Choose a reason for hiding this comment

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

Can you also add a test with a relation between ChildA and ChilB?

{
/**
* @Assert\Valid
* @Assert\NotBlank
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 use another assertion to be sure that there is no collision.

@dunglas
Copy link
Member

👍

private$internal;
public$data ='Overridden data';
public$initialized =false;

Copy link
Member

Choose a reason for hiding this comment

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

this line should be kept

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

👍

@nicolas-grekasnicolas-grekas changed the title[Validator] fix - #20685: add class name to the cache key[Validator] add class name to the cache keyDec 8, 2016
@nicolas-grekas
Copy link
Member

Thank you@Simperfit.

Simperfit reacted with thumbs up emoji

nicolas-grekas added a commit that referenced this pull requestDec 8, 2016
This PR was squashed before being merged into the 3.1 branch (closes#20745).Discussion----------[Validator] add class name to the cache key| Q             | A| ------------- | ---| Branch?       | 3.1| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#20685| License       | MIT| Doc PR        |Adding the class name to the cache key to avoid collisionCommits-------1681fc9 [Validator] add class name to the cache key
@SimperfitSimperfit deleted the fix/20685 branchDecember 8, 2016 20:36
This was referencedDec 13, 2016
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof left review comments

@dunglasdunglasdunglas approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

3.1

Development

Successfully merging this pull request may close these issues.

5 participants

@Simperfit@dunglas@nicolas-grekas@stof@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp