-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix bug with update existing pivot and polymorphic many to many
- Loading branch information
1 parent
00e9ed7
commit 684208b
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
684208b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
After this release, sync method on existing polymorphic many to many relation started giving error : Call to undefined method Illuminate\Database\Eloquent\Relations\Pivot::setMorphType()", though sync method on creating relation is working fine, only facing issue in polymorphic many to may relation update using sync
However, its working perfectly fine in laravel 6.18.14
Please update if anything needs to be done on my side
Quick response would be appreciable
684208b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was already fixed in 6.18.18. Please upgrade again.
684208b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, verified, Thanks a lot for quick response.
684208b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I think 6.18.17 should be deleted, seems wrong to have a broken build live?
684208b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@LasseRafn we never delete releases like that. Please upgrade to the latest patch release.