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

[WebProfilerBundle] Display uploaded files in the profiler#26946

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
fabpot merged 1 commit intosymfony:masterfromjaviereguiluz:fix_26926
Jun 25, 2018

Conversation

@javiereguiluz
Copy link
Member

@javiereguiluzjaviereguiluz commentedApr 16, 2018
edited
Loading

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

profiler_files

Note: I wanted to use the VarDumper to display the table information (as we do in the rest of tables) but I had lots of problems and I just wanted to create a proof of concept for the feature to see if we like it.

yceruto, Koc, ogizanagi, alamirault, maidmaid, chapterjason, hason, ro0NL, apfelbox, HeahDude, and IonBazan reacted with thumbs up emojichapterjason and rvanlaak reacted with hooray emojichapterjason and HeahDude reacted with heart emoji
@chapterjason
Copy link
Contributor

chapterjason commentedApr 21, 2018
edited
Loading

Looks awesome, as I watched in theUploadedFile I saw the getError() andgetErrorMessage() methods, what happens if there is just an error with one file?

<thscope="col">File Name</th>
<thscope="col">MIME Type</th>
<thscope="col text-right">Size (bytes)</th>
<thscope="col">Temporary Location</th>

Choose a reason for hiding this comment

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

is this useful info? afaik, the temp file is gone when this is displayed, isn't it?

Copy link
Contributor

@chapterjasonchapterjasonJun 19, 2018
edited
Loading

Choose a reason for hiding this comment

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

You're right.

The file will be deleted from the temporary directory at the end of the request if it has not been moved away or renamed.
http://php.net/manual/en/features.file-upload.post-method.php

Copy link
Member

Choose a reason for hiding this comment

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

@javiereguiluz Can you remove this column?

javiereguiluz reacted with thumbs up emoji
<thscope="col">File Name</th>
<thscope="col">MIME Type</th>
<thscope="col text-right">Size (bytes)</th>
<thscope="col">Temporary Location</th>
Copy link
Member

Choose a reason for hiding this comment

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

@javiereguiluz Can you remove this column?

javiereguiluz reacted with thumbs up emoji
@fabpot
Copy link
Member

Thank you@javiereguiluz.

@fabpotfabpot merged commit3f6f75b intosymfony:masterJun 25, 2018
fabpot added a commit that referenced this pull requestJun 25, 2018
…iler (javiereguiluz)This PR was squashed before being merged into the 4.2-dev branch (closes#26946).Discussion----------[WebProfilerBundle] Display uploaded files in the profiler| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#26926| License       | MIT| Doc PR        | -![profiler_files](https://user-images.githubusercontent.com/73419/38807087-ac1e9bac-417b-11e8-99e0-317b437c986e.png)Note: I wanted to use the VarDumper to display the table information (as we do in the rest of tables) but I had lots of problems and I just wanted to create a proof of concept for the feature to see if we like it.Commits-------3f6f75b [WebProfilerBundle] Display uploaded files in the profiler
@xabbuh
Copy link
Member

Wouldn't it make sense to also display the error (possibly human readable) if any occurred during uploading?

chapterjason reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas left review comments

@fabpotfabpotfabpot approved these changes

+2 more reviewers

@chapterjasonchapterjasonchapterjason left review comments

@phansysphansysphansys approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

4.2

Development

Successfully merging this pull request may close these issues.

7 participants

@javiereguiluz@chapterjason@fabpot@xabbuh@nicolas-grekas@phansys@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp