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
The fillBelongsToRelation save for customer fails with the following, because it's trying to select reference, which is the relation and not a column, from the customers table.
Column not found: 1054 Unknown column 'reference' in 'where clause'
The following seems to fix the issue for belongsTo relations, it's extracting the relations out and only using the attributes in that lookup.
This is a similar issue to #5.
The trait is failing on the following example:
The
fillBelongsToRelation
save for customer fails with the following, because it's trying to selectreference
, which is the relation and not a column, from thecustomers
table.The following seems to fix the issue for belongsTo relations, it's extracting the relations out and only using the attributes in that lookup.
Would this be an appropriate fix? Also I haven't tested the belongs to many, but I'd imagine it would need a similar fix.
The text was updated successfully, but these errors were encountered: