Open
Description
Currently ActiveIndexedComponents
have both an _active
flag on the container and on each of the ComponentData sub-objects. I think this is confusing as you can have a situation where the container is “active” but all the contained objects are deactivated.
This strikes me as violating good DB design principles, where the same data is stored in more than one place.
I would like to propose that we remove the _active
Flag from the containers and leave it only on the data objects. The active
property would stay on the container, but would return False iif all contained data objects were deactivated, otherwise it would return True.