Skip to content
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

When aws s3 gaufrette adapter is used for bitbag_sylius_cms_plugin_media filesystem - path gets resolved incorrectly #431

Open
gigabites19 opened this issue May 21, 2022 · 0 comments

Comments

@gigabites19
Copy link
Contributor

Steps to reproduce

  1. Override bitbag_sylius_cms_plugin_media adapter
knp_gaufrette:
    adapters:
        bitbag_sylius_cms_plugin_media:
            aws_s3:
                service_id: Aws\S3\S3Client
                bucket_name: "%env(AWS_S3_BUCKET)%"
                detect_content_type: true
                options:
                    acl: public-read
  1. Upload media from sylius admin and check resolved path in bucket
    path

Removing forward slash concatenation here resolves it but I have not checked how it plays when other type of adapter is used

@gigabites19 gigabites19 changed the title When aws s3 gaufrette adapter is used for bitbag_sylius_cms_plugin_media filesystem path gets resolved incorrectly When aws s3 gaufrette adapter is used for bitbag_sylius_cms_plugin_media filesystem - path gets resolved incorrectly May 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant