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

[BrowserKit] Nested file array prevents uploading file#35827

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
nicolas-grekas merged 1 commit intosymfony:4.4fromafilina:bugfix/nested-file-array
Feb 23, 2020
Merged

[BrowserKit] Nested file array prevents uploading file#35827

nicolas-grekas merged 1 commit intosymfony:4.4fromafilina:bugfix/nested-file-array
Feb 23, 2020

Conversation

@afilina
Copy link
Contributor

@afilinaafilina commentedFeb 22, 2020
edited
Loading

QA
Branch?master
Bug fix?yes
New feature?no
Deprecations?no
Tickets
LicenseMIT
Doc PRn/a

The HttpBrowser doesn't play nicely with Symfony\Component\DomCrawler::getPhpFiles().
The former assumes a flat array structure, while the latter explicitly un-flattens it, causing files to silently get ignored by the DomCrawler's submitForm.

@afilina
Copy link
ContributorAuthor

I don't understand what's wrong with thew CI system. Appveyor reports an error despite having all checks green. fabpot.io reports CS issues. I went and fixed CS issues inpreexisting code as per the CONTRIBUTING.md docs, and now fabpot.io reports reports one more issue than previously. I have no idea what I'm expected to do here to pass the build. The rules are obfuscated and this bug is going to affect my workshop on Monday.

@chalasrchalasr added this to the4.4 milestoneFeb 22, 2020
@nicolas-grekasnicolas-grekas changed the title[Bugfix] Nested file array prevents uploading file[BrowserKit] Nested file array prevents uploading fileFeb 23, 2020
@nicolas-grekasnicolas-grekas changed the base branch frommaster to4.4February 23, 2020 09:55
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.

Thank you@afilina.
I rebased your PR to target 4.4 + fixed some minor CS issues meanwhile.

@nicolas-grekas
Copy link
Member

Thank you@afilina.

@nicolas-grekasnicolas-grekas merged commitd28a738 intosymfony:4.4Feb 23, 2020
@afilinaafilina deleted the bugfix/nested-file-array branchFebruary 23, 2020 14:04
This was referencedFeb 29, 2020
fabpot added a commit that referenced this pull requestMar 28, 2020
… uploads (codebay)This PR was squashed before being merged into the 4.4 branch.Discussion----------[BrowserKit] fixed missing post request parameters in file uploads| Q             | A| ------------- | ---| Branch?       | 4.4| Bug fix?      | yes| New feature?  | no| Deprecations? | no| License       | MITPull Request#35827 "[BrowserKit] Nested file array prevents uploading file" introduced a bug that had not been previously covered by unit tests for the component. Requests that include additional parameters with a file upload are not being includedCommits-------7abee62 [BrowserKit] fixed missing post request parameters in file uploads
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

@chalasrchalasrchalasr approved these changes

@fabpotfabpotAwaiting requested review from fabpot

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

4 participants

@afilina@nicolas-grekas@chalasr@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp