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
I want to clone a parent model that has relations like these: relation_1 => hasMany relation_2 => hasMany relation_3 => hasMany
The relation_3 itself has polymorphic relation with relation_1 or relation_2.
So if I tell the cloner to clone the parent model with all relations, the cloned relation_3 has a polymorphic connection with the old one.
Also, if we add it to the cloneable_relations attribute, it cloned a new model, while it should just update relation with the cloned model that created when we cloned parent relations.
The text was updated successfully, but these errors were encountered:
I want to clone a parent model that has relations like these:
relation_1
=> hasManyrelation_2
=> hasManyrelation_3
=> hasManyThe
relation_3
itself has polymorphic relation withrelation_1
orrelation_2
.So if I tell the cloner to clone the parent model with all relations, the cloned
relation_3
has a polymorphic connection with the old one.Also, if we add it to the
cloneable_relations
attribute, it cloned a new model, while it should just update relation with the cloned model that created when we cloned parent relations.The text was updated successfully, but these errors were encountered: