In configuration controller's response processor _remove_grant_from_response might be called to remove existing grant. Sometimes when removing the grant the cbsd related to it also gets removed.
Turns out that if grant.cbsd attribute is accessed then when removing the grant sql alchemy will also remove the cbsd object. This should not be happening.
In configuration controller's response processor
_remove_grant_from_response
might be called to remove existing grant. Sometimes when removing the grant the cbsd related to it also gets removed. Turns out that ifgrant.cbsd
attribute is accessed then when removing the grant sql alchemy will also remove the cbsd object. This should not be happening.