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

[Cache] Prevent notice on case matching metadata trick#39420

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

Merged

Conversation

@bastnic
Copy link
Contributor

@bastnicbastnic commentedDec 9, 2020
edited by nicolas-grekas
Loading

QA
Branch?4.4
Bug fix?yes
New feature?no
Deprecations?no
Tickets
LicenseMIT

On saving an array of one element with a int key of strlen 10
it matches the first conditions of the trick used to save metadata.

Notice: Trying to access array offset on value of type int

Casting it to string fixes it.

@carsonbotcarsonbot added this to the5.1 milestoneDec 9, 2020
@bastnicbastnicforce-pushed thefeature/cache-metadata-cast-key branch from941f9e8 to4b7e8bbCompareDecember 9, 2020 23:22
@symfonysymfony deleted a comment frommajiayuanDec 10, 2020
@nicolas-grekasnicolas-grekas modified the milestones:5.1,4.4Dec 10, 2020
Copy link
Member

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

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

(for 4.4)

On saving an array of one element with a int key of strlen 10it matches the first conditions of the trick used to save metadata.> Notice: Trying to access array offset on value of type intCasting it to string fixes it.
@nicolas-grekas
Copy link
Member

Thank you@bastnic.

@nicolas-grekasnicolas-grekas merged commitf4a02b4 intosymfony:4.4Dec 10, 2020
@bastnicbastnic deleted the feature/cache-metadata-cast-key branchDecember 10, 2020 08:58
This was referencedDec 18, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@chalasrchalasrAwaiting requested review from chalasr

@dunglasdunglasAwaiting requested review from dunglas

@jderussejderusseAwaiting requested review from jderusse

@lyrixxlyrixxAwaiting requested review from lyrixx

@srozesrozeAwaiting requested review from sroze

@wouterjwouterjAwaiting requested review from wouterj

@xabbuhxabbuhAwaiting requested review from xabbuh

@ycerutoycerutoAwaiting requested review from yceruto

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

3 participants

@bastnic@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp