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
In the reproduction repo I've included two subresources, one is files which uses the default FileUpload form component and works great. The second is media which uses the spatie media library plugin and does not work.
I'm not sure how to debug this anymore.
Expected behavior
Would expect it to create the media in the spatie media library table and also save the files to disk.
Steps to reproduce
Clone reproduction repo, install and migrate (sqlite database)
Package
filament/spatie-laravel-media-library-plugin
Package Version
v3.2.107
Laravel Version
v11.21.0
Livewire Version
v3.5.6
PHP Version
PHP 8.2
Problem description
The spatie media library plugin form component doesn't seem to work inside a
ManageRelatedRecords
page.Some more discussion in Discord: https://discord.com/channels/883083792112300104/1275874487476289577
Trying to save an uploaded file results in the following SQL error:
In the reproduction repo I've included two subresources, one is
files
which uses the defaultFileUpload
form component and works great. The second ismedia
which uses the spatie media library plugin and does not work.I'm not sure how to debug this anymore.
Expected behavior
Would expect it to create the media in the spatie media library table and also save the files to disk.
Steps to reproduce
Reproduction repository (issue will be closed if this is not valid)
https://github.com/ryanmortier/filament-issues
Relevant log output
No response
Donate 💰 to fund this issue
The text was updated successfully, but these errors were encountered: