Error happened during query after delete referenced data :cascade obj is not exist #1772
Labels
No Label
backport/done
backport/v1
blocked
db
oracle
db
sqlserver
duplicate
feature
cache
frontport/done
frontport/main
invalid
kind
breaking
kind
bug
kind
build
kind
dependencies
kind
docs
kind
driver
kind
enhancement
kind
feature
kind
performance
kind
proposal
kind
question
kind
refactor
kind
testing
need
feedback
need
test
proposal:accepted
RaspBerry Pi
regression
skip-changelog
upstream
wip
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: xorm/xorm#1772
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
table definition
issue
When I deleted row from
ClusterGroup
which is referenced byCluster
, all query with tableCluster
were failed if result include the reference-missing rows, error message:cascade obj is not exist
. Is there any solution for this?Did you enabled cache?
I suppose I didn't.
I hope query result as
ClusterGroup=nil
when reference missing, instead of return error.Maybe we can add an option to ignore the cascade loading.