bartek
2007-11-10 14:42:02 UTC
Hello
Currently when an object to which some other objects are related is
being deleted the system blocks the operation; however, there may be
situtations when we'd like to do something else - like, edit relations
so that the objects are no longer related, or delete all the related
objects in a 'cascading' way.
I need something like this now, so the question is, what would be a
clean way to implement such a feature? Perhaps it could be a kind of a
configurable interaction, but which would be executed before
Object_hasRelation does its checks (I experimented with interaction
workflow, but if there are related objects that stage is not even reached).
What would you advise?
Bartek
Currently when an object to which some other objects are related is
being deleted the system blocks the operation; however, there may be
situtations when we'd like to do something else - like, edit relations
so that the objects are no longer related, or delete all the related
objects in a 'cascading' way.
I need something like this now, so the question is, what would be a
clean way to implement such a feature? Perhaps it could be a kind of a
configurable interaction, but which would be executed before
Object_hasRelation does its checks (I experimented with interaction
workflow, but if there are related objects that stage is not even reached).
What would you advise?
Bartek
--
"feelings affect productivity. (...) unhappy people write worse
software, and less of it."
Karl Fogel, "Producing Open Source Software"
"feelings affect productivity. (...) unhappy people write worse
software, and less of it."
Karl Fogel, "Producing Open Source Software"