> FYI - The delete() works on the structure I describe in my first message
if
> I do one of these 2 steps first:
>
> - if the target of the LinkNode is deleted manually using a DAV client
> or
> - if the target of the LinkNode is deleted by calling delete()
>
> Is it a bug?

It looks like it is a bug indeed.
I looked at the MacroImpl code, and I think the links shouldn't be resolved
(ie, we should use Structure.retrieve(token, uri, false)).

> On another note, I looked to see what was left behind in the DB after I
> called delete() on the LinkNode target object and I see the MacroImpl
leaves
> behind the records in the Revision table's.  Should the MacroImpl delete
> those records?

Yes, if the object is not versioned.

Remy

Reply via email to