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

Dynamic paths not working #138

Open
peteeveleigh opened this issue Feb 28, 2022 · 1 comment
Open

Dynamic paths not working #138

peteeveleigh opened this issue Feb 28, 2022 · 1 comment
Labels

Comments

@peteeveleigh
Copy link

peteeveleigh commented Feb 28, 2022

When trying to set a dynamic path on an Asset field that is connected to an S3 Volume, the dynamic segments are ignored or prevent the path from being used at all. Files uploaded into the field go to the root of the Volume.

Steps to reproduce

  1. Create an S3 Asset Volume
  2. Create an Assets field that points at the volume and set a dynamic path, such as {slug} or some-folder/{slug}

Additional info

  • Craft CMS version: 3.7.22
  • Amazon S3 plugin version: 1.3.0
  • PHP version: 7.4.28
@brandonkelly
Copy link
Member

The plugin doesn’t really get involved in that.

Did you check if normal paths are working, which don’t contain anything dynamic?

Perhaps you’re using the plugin within a Matrix field, so the path actually needs to be {owner.slug}?

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

No branches or pull requests

2 participants