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 Ensure manipulations start with base file #612

Merged

Conversation

GuySartorelli
Copy link
Member

@GuySartorelli GuySartorelli commented Jun 4, 2024

It turns out there's some special logic going on in manipulation that needs to take place starting with the File record. If you try to use the DBFile on its own without first performing a manipulation, the attributes applied to the file won't be passed down to subsequent manipulations.

Changing the API here is fine because it's new API that hasn't been released yet.

Issue

It turns out there's some special logic going on in manipulation that
needs to take place starting with the File record. If you try to use the
DBFile on its own without first performin a manipulation, the attributes
applied to the file won't be passed down to subsequent manipulations.
Copy link
Member

@emteknetnz emteknetnz left a comment

Choose a reason for hiding this comment

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

Tested locally, works well

@emteknetnz emteknetnz merged commit c4081b9 into silverstripe:2 Jun 4, 2024
9 checks passed
@emteknetnz emteknetnz deleted the pulls/2/fix-attributes branch June 4, 2024 23:17
GuySartorelli added a commit to creative-commoners/silverstripe-assets that referenced this pull request Jul 17, 2024
It turns out there's some special logic going on in manipulation that
needs to take place starting with the File record. If you try to use the
DBFile on its own without first performin a manipulation, the attributes
applied to the file won't be passed down to subsequent manipulations.
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.

2 participants