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

[HttpKernel] Clarify deprecation of non-scalar values in surrogate fragment renderer#19281

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

Conversation

@chalasr
Copy link
Member

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

if (!$this->surrogate || !$this->surrogate->hasSurrogateCapability($request)) {
if ($uriinstanceof ControllerReference &&$this->containsNonScalars($uri->attributes)) {
@trigger_error('Passing objects as part of URI attributes to the ESI and SSI rendering strategies is deprecated since version 3.1, and will be removed in 4.0. Use a different rendering strategy or pass scalar values.',E_USER_DEPRECATED);
@trigger_error('Passing objectsor arraysas part of URI attributes to the ESI and SSI rendering strategies is deprecated since version 3.1, and will be removed in 4.0. Use a different rendering strategy or pass scalar values.',E_USER_DEPRECATED);
Copy link
Member

Choose a reason for hiding this comment

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

What about "Passing non scalar values [...]" instead?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

I hesitated because it is already written "pass scalar values" at the end, but if you think it is clearer, let's use it.

@xabbuh
Copy link
Member

We should update the upgrade files too.

@chalasrchalasrforce-pushed thesurrogate_renderer_nonscalar_deprecation branch from729701b toe8ea461CompareJuly 4, 2016 11:37
@chalasr
Copy link
MemberAuthor

I did the change.

@fabpot
Copy link
Member

👍

@xabbuh
Copy link
Member

@chalasr TheUPGRADE-4.0.md file needs to be updated too.

…ndererUpdate UPGRADE-3.1 tooUse non-scalar values as deperecated typeUpdate UPGRADE-4.0 too
@chalasrchalasrforce-pushed thesurrogate_renderer_nonscalar_deprecation branch frome8ea461 tob088978CompareJuly 4, 2016 11:45
@chalasr
Copy link
MemberAuthor

I missed it, it's ok now@xabbuh.

@xabbuh
Copy link
Member

👍

@fabpot
Copy link
Member

Thank you@chalasr.

@fabpotfabpot merged commitb088978 intosymfony:3.1Jul 4, 2016
fabpot added a commit that referenced this pull requestJul 4, 2016
… surrogate fragment renderer (chalasr)This PR was merged into the 3.1 branch.Discussion----------[HttpKernel] Clarify deprecation of non-scalar values in surrogate fragment renderer| Q             | A| ------------- | ---| Branch?       | 3.1| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#19262| License       | MIT| Doc PR        | ~Commits-------b088978 [HttpKernel] Clarify deprecation of non-scalar values in surrogate renderer
@chalasrchalasr deleted the surrogate_renderer_nonscalar_deprecation branchJuly 4, 2016 12:27
fabpot added a commit that referenced this pull requestAug 27, 2016
…ragment renderer (chalasr)This PR was merged into the 3.1 branch.Discussion----------[HttpKernel] Fix assertion of deprecation in surrogate fragment renderer| Q             | A| ------------- | ---| Branch?       | 3.1| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | n/a| License       | MIT| Doc PR        | n/aThe message has been changed in#19281 but not the corresponding assertionCommits-------4245bac [HttpKernel] Fix assertion of deprecation in fragment renderer
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.

4 participants

@chalasr@xabbuh@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp