When does IsEffectivelyErased return True

by Fenton Webb

For a database resident object that is not itself erased, there are three reasons why isEffectivelyErased() could return true:

  1. Some owner up the ownership hierarchy is erased.
  2. This object, or some object up the ownership hierarchy is returning an empty ObjectId from its ownerId() method.
  3. An owner cannot be opened for some reason somewhere up the ownership hierarchy.