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

HasOneThrough parent class changed in laravel 11.x #15264

Closed
musaberatbahadir opened this issue Jan 6, 2025 · 0 comments
Closed

HasOneThrough parent class changed in laravel 11.x #15264

musaberatbahadir opened this issue Jan 6, 2025 · 0 comments
Labels
Milestone

Comments

@musaberatbahadir
Copy link
Contributor

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 to HasOneOrManyThrough on CreateAction 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 description

Reproduction repository (issue will be closed if this is not valid)

https://github.com/musaberatbahadir/create-action-bug

Relevant log output

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

2 participants