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

[FrameworkBundle][Validator] Fix apc cache service & config#16794

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
ogizanagi wants to merge1 commit intosymfony:masterfromogizanagi:16793_apc_cache_service
Closed

[FrameworkBundle][Validator] Fix apc cache service & config#16794

ogizanagi wants to merge1 commit intosymfony:masterfromogizanagi:16793_apc_cache_service

Conversation

@ogizanagi
Copy link
Contributor

QA
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#16793
LicenseMIT
Doc PR-

@ogizanagiogizanagi changed the title[FrameworkBundle][Validation] Fix apc cache service & config[FrameworkBundle][Validator] Fix apc cache service & configDec 2, 2015
@jderusse
Copy link
Member

Beware, the new service does not implements the same interface.
Your PR should break herehttps://github.com/ogizanagi/symfony/blob/ab4262e98a5121144e6d4e129b95e80b55ded08b/src/Symfony/Component/Validator/ValidatorBuilderInterface.php#L130

Copy link
Member

Choose a reason for hiding this comment

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

This BC break should trigger a deprecation in previous versions right?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

The deprecation seems to have been triggered through the newvalidator.mapping.cache.doctrine.apc servicein previous versions...
And this service has been removed in 3.0.

I'm getting lost in the operation.
I think something went wrong during a merge or this wasn't expected to be as it is right now:
validator.mapping.cache.doctrine.apc wasn't supposed to be marked as deprecated nor removed IMO.
validator.mapping.cache.apc was.

I'm going to makevalidator.mapping.cache.apc an alias of the newvalidator.mapping.cache.doctrine.apc service, but it should probably have been removed instead.

@ogizanagi
Copy link
ContributorAuthor

Hmm, you're right. It should be based onSymfony\Component\Validator\Mapping\Cache\DoctrineCache which adapts it to this interface.

@ogizanagi
Copy link
ContributorAuthor

This PR has been submitted by mistake onmaster. (Bad habit, 3.0 is now released...)
Closing in favor of#16795.

@ogizanagiogizanagi deleted the 16793_apc_cache_service branchDecember 2, 2015 02:35
fabpot added a commit that referenced this pull requestJan 25, 2016
…g (ogizanagi)This PR was merged into the 3.0 branch.Discussion----------[FrameworkBundle][Validator] Fix apc cache service & config| Q             | A| ------------- | ---| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#16793| License       | MIT| Doc PR        | -_Keep track of#16794 (comment)_NOTE_: This PR is on standby. If#16822 is merged, this one might probably be closed, as everything will be done during the merge.Commits-------94a1728 [FrameworkBundle][Validator] Fix apc cache service & config
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@ogizanagi@jderusse@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp