You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new logic for handling duplicate assets is quite amazing!
I just noticed that the new "Fix..." UI will also show up when uploading assets with unknown file extensions. In that case, the suggested solutions of appending the timestamp or renaming the file won't do anything to fix the situation. So it's a bit misleading...
I'd suggest only showing the new UI for actual filename conflicts, not on all 422 responses which might also include other validation errors like the mentioned file extension mismatch. Not sure how to determine if a 422 is a rename conflict or another validation issue, though.
How to reproduce
Upload unknown filetype (e.g. epub)
See that a "Fix" button shows up on the right of the error message
Bug description
The new logic for handling duplicate assets is quite amazing!
I just noticed that the new "Fix..." UI will also show up when uploading assets with unknown file extensions. In that case, the suggested solutions of appending the timestamp or renaming the file won't do anything to fix the situation. So it's a bit misleading...
I'd suggest only showing the new UI for actual filename conflicts, not on all 422 responses which might also include other validation errors like the mentioned file extension mismatch. Not sure how to determine if a 422 is a rename conflict or another validation issue, though.
How to reproduce
epub
)Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
No response
The text was updated successfully, but these errors were encountered: