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 asset uploading bug #252

Merged
merged 2 commits into from
Mar 11, 2024

Conversation

ryanmitchell
Copy link
Contributor

@ryanmitchell ryanmitchell commented Mar 7, 2024

As reported here uploading an asset where the name changes causes a duplicate database entry.

This PR checks the dirty state of the asset to work out if there is a model to update.

Closes #251

@ryanmitchell ryanmitchell merged commit 8fed315 into statamic:master Mar 11, 2024
11 checks passed
@ryanmitchell ryanmitchell deleted the fix/asset-upload-issue branch March 11, 2024 10:26
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.

Assets with normalized characters duplicated on Upload
1 participant