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

Fix populating file when path is assets folder #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

satrun77
Copy link
Contributor

When you have a YML file with the following setup

SilverStripe\Assets\Image:
  image1:
    Filename: image1.jpg
    PopulateFileFrom: app/fixtures/assets/image1.jpg

The filename does not specify a folder Filename: image1.jpg

The file is created in the assets folder under a directory with hash name, ie. 61a1b816b08b8/image1.jpg

@satrun77 satrun77 force-pushed the bugfix/file-in-root-path branch 2 times, most recently from 4fffea4 to 218ad4f Compare November 27, 2021 06:12
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 this pull request may close these issues.

1 participant