Hi,
I have two related builders: resources and metadata. I have some trouble deleting the nodes.


If I try:

metadata.delete(true);
resource.delete();

the following error occours:
org.mmbase.bridge.BridgeException: This node (239) cannot be deleted. It still has relations attached to it.


If I try:

metadata.delete(true);
resource.delete(true);

the following error occours:
org.mmbase.bridge.BridgeException: node not added as it was already in the transaction


Am I missed something? What is the right way for deleting related nodes?

Thanks in advance,
Marco





Reply via email to