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

[Messenger] Fixed check for allowed options in AwsSqs configuration#36873

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

@kroshilin
Copy link
Contributor

@kroshilinkroshilin commentedMay 19, 2020
edited by nicolas-grekas
Loading

QA
Branch?5.1
Bug fix?yes
New feature?no
Deprecations?no
Ticketsno
LicenseMIT

Before this fix it was unavailable to create Connection with access_key and secret_key in options, because they were added to $clientConfiguration var, and check for extra options was against $configuration var. Which lead to exception.
The idea is to check input options against self::DEFAULT_OPTIONS (which contains all available options)

pchapl and mabalashov reacted with thumbs up emoji
Before this fix it was unavailable to create Connection with access_key and secret_key in options, because they were added to $clientConfiguration var, and check for extra options was against $configuration var. Which lead to exception.The idea is to check input options against self::DEFAULT_OPTIONS (which contains all available options)
@kroshilinkroshilinforce-pushed thefix-aws-sqs-extra-options-check branch fromf872767 tofb19672CompareMay 19, 2020 14:36
@nicolas-grekasnicolas-grekas added this to the5.1 milestoneMay 22, 2020
@nicolas-grekas
Copy link
Member

/cc@jderusse could you please have a look?

Copy link
Member

@jderussejderusse left a comment

Choose a reason for hiding this comment

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

Indeed, I forgot to take$clientConfiguration options into account.

@chalasr
Copy link
Member

Good catch, thanks@kroshilin.

@chalasrchalasr merged commita7c09ac intosymfony:5.1May 22, 2020
@fabpotfabpot mentioned this pull requestMay 26, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@jderussejderussejderusse approved these changes

@chalasrchalasrchalasr approved these changes

@srozesrozeAwaiting requested review from sroze

Assignees

No one assigned

Projects

None yet

Milestone

5.1

Development

Successfully merging this pull request may close these issues.

5 participants

@kroshilin@nicolas-grekas@chalasr@jderusse@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp