Skip to content

Fix the parameter configuration in the file upload doc #20043

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

javiereguiluz
Copy link
Member

Fixes #20039.

I propose to do this change in 5.4 ... but revert this and use #[Autowire('%kernel.project_dir%/public/uploads/brochures')] instead in 6.4 branch and up.

@javiereguiluz javiereguiluz added this to the 5.4 milestone Jul 15, 2024
@javiereguiluz javiereguiluz changed the base branch from 7.1 to 5.4 July 15, 2024 07:43
@xabbuh
Copy link
Member

xabbuh commented Jul 15, 2024

I have left a question in the linked issue.

_defaults:
# ...
bind:
$brochuresDirectory: '%kernel.project_dir%/public/uploads/brochures'
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
$brochuresDirectory: '%kernel.project_dir%/public/uploads/brochures'
string $brochuresDirectory: '%kernel.project_dir%/public/uploads/brochures'

Copy link
Member Author

Choose a reason for hiding this comment

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

Done while merging. Thanks!

@javiereguiluz javiereguiluz merged commit 4629d9c into symfony:5.4 Jul 17, 2024
3 checks passed
@javiereguiluz javiereguiluz deleted the fix_20039 branch July 17, 2024 15:57
@javiereguiluz
Copy link
Member Author

javiereguiluz commented Jul 17, 2024

This is the change I did in 6.4 branch and up when merging this: 55d376f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Upload files] parameter or bind?
3 participants