[Bug] TypeError thrown when notification is sent #267
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing information
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pxlrbt/filament-excel#267
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Using Laravel 13
When an export is done and a notification is sent, there is a TypeError exception thrown in
vendor/pxlrbt/filament-excel/src/FilamentExport.phpline 29This appears to be a side-effect of the stricter php class serialisation introduced in L13.
The cause of the error appears to be the storage of a
UuidInterfaceclass instance rather than the UUID itself.Actual error triggered in:
\pxlrbt\FilamentExcel\FilamentExcelServiceProvider::cacheExportFinishedNotificationAssuming this is the only occurrence of caching, the following should be enough to resolve this:
patch:
Thanks.
Did you validate this is working?
The patch works in our codebase, yes. I'm currently applying it via composer-patches.
Thanks. I merged a fix for this.