Closed WimWidgets closed 4 years ago
Hi @WimWidgets, first of all thanks for use this package.
Could you say us what version of laravel are you using. I will review it as soon as possible.
I'm using v6.4.1
of the laravel/framework
package at the momemt.
@WimWidgets Could you try with the package version 7.0.1. It seems that the problem was there.
I moved on to another similar package since then.
@maguilar92 this is still an issue with package version 7.0.1
and Laravel v7.22.4
.
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'adressen.mitarbeiter_id' in 'where clause' (SQL: select * from `adressen` where `adressen`.`mitarbeiter_id` = 9 and `adressen`.`mitarbeiter_id` is not null and `adressen`.`deleted_at` is null limit 1)
Querying an adressen
.mitarbeiter_id
column - which obviously does not exist - when it should query the mitarbeiter
.adresse_id
column.
I moved on to another similar package since then.
can you share the package that you have used?
can you share the package that you have used?
Sorry, but 3.5 years is an eternity in programming. I don't even know which project this was for anymore.
Description:
Using soft cascade on a
BelongsTo
relationship throws aSoftCascadeLogicException
. In the example below when soft deletingModelA
,ModelB
should be soft deleted and subsequentlyModelC
.ModelA
removingModelB
is not a problem, but cascadingModelC
fromModelB
generates an invalid query.ModelB
in this case acts like a kind of enriched pivot model.SQLSTATE[42S22]: Column not found: 1054 Unknown column
Steps To Reproduce:
See code example.
Code example: