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
Because of parent class of HasOneThrough is changed in laravel 11.x here CreateAction is throwing Call to undefined method Illuminate\Database\Eloquent\Relations\HasOneThrough::save()
Expected behavior
Relationship control needs to be changed to from HasManyThrough to HasOneOrManyThrough on CreateActionsetUp
Steps to reproduce
composer install and run the tests on given repository, I've created a small scenario to get the same error I mentioned in description
Reproduction repository (issue will be closed if this is not valid)
Package
filament/filament
Package Version
v3.2
Laravel Version
v11.31
Livewire Version
No response
PHP Version
8.2
Problem description
Because of parent class of HasOneThrough is changed in laravel 11.x here CreateAction is throwing
Call to undefined method Illuminate\Database\Eloquent\Relations\HasOneThrough::save()
Expected behavior
Relationship control needs to be changed to from
HasManyThrough
toHasOneOrManyThrough
onCreateAction
setUp
Steps to reproduce
composer install
and run the tests on given repository, I've created a small scenario to get the same error I mentioned in descriptionReproduction repository (issue will be closed if this is not valid)
https://github.com/musaberatbahadir/create-action-bug
Relevant log output
No response
The text was updated successfully, but these errors were encountered: