Comment 1 for bug 1814182

Revision history for this message
Mike Bayer (zzzeek) wrote :

so this is a bug in oslo.db, for which soft_delete() should not be written that way, since it is wrong.

The immediate mitigation is to pass in synchronize_session=False so that the ORM evaluator isn't pulled in, which is the element that has to make a guess when those non-mapped columns are passed in.

longer term, the method in oslo.db needs to be fixed. issue with the correct code is added in https://bugs.launchpad.net/oslo.db/+bug/1814199.