Object cannot be deleted do to invisible link

When I try to delete certain objects from a module, I get an error "cannot delete object(s) they have in coming links...". The only problem is the object does not have any links. I've using the link analysis tool, and the delete all links tool, but both confirm that the object does not contain any links. The object the error message calls out that supposedly links to this object also does not contain any links. Is there any way doors hides links? Any help would be greatly appreciated, I can't think of any other way to get rid of this object.
Curtis_J - Thu May 07 13:18:05 EDT 2009

Re: Object cannot be deleted do to invisible link
Ron_Lewis - Thu May 07 13:22:34 EDT 2009

Most likely the source of the link is softdeleted. If this is source of your problem -- there are at least two solutions:
1. Purge the source of the link that is softdeleted.
2. Undeleted source -- delete link then redelete source.

Re: Object cannot be deleted do to invisible link
Curtis_J - Thu May 07 17:13:17 EDT 2009

The source the error message refers to is not soft-deleted. It still exists, it just does not have the link that is specified in the error message. Is there another way a link can be hidden? Or is it possible the error message is giving the wrong module? I don't have any soft-deleted items in the project so I don't think that is the problem.

Re: Object cannot be deleted do to invisible link
SystemAdmin - Thu May 07 17:31:17 EDT 2009

Curtis the safe thing to do would be to contact Telelogic/Rational and ask them.

Re: Object cannot be deleted do to invisible link
Ron_Lewis - Fri May 08 08:04:31 EDT 2009

A third way to delete links if you have the patient of Job is:

Open the link module and open both the source and target module in edit modes and show deleted links. Then in the link module find the link and delete the link from the link module.

Re: Object cannot be deleted do to invisible link
mcnairk - Fri May 08 08:23:48 EDT 2009

Curtis_J - Thu May 07 17:13:17 EDT 2009
The source the error message refers to is not soft-deleted. It still exists, it just does not have the link that is specified in the error message. Is there another way a link can be hidden? Or is it possible the error message is giving the wrong module? I don't have any soft-deleted items in the project so I don't think that is the problem.

The following happened to one of my users recently and may be your problem. When you try to delete an object, you are also deleting its children. If any of the children have incoming links you will get this error message (it should really be more explicit). I suggest you display the Object Level attribute in your view to help identify children. If you want to delete them as well, then delete their incoming links first. If you don't want to delete them then move them up to the same level as the parent.

Hope this helps,
Ken.

Re: Object cannot be deleted do to invisible link
llandale - Fri May 08 14:06:01 EDT 2009

mcnairk - Fri May 08 08:23:48 EDT 2009
The following happened to one of my users recently and may be your problem. When you try to delete an object, you are also deleting its children. If any of the children have incoming links you will get this error message (it should really be more explicit). I suggest you display the Object Level attribute in your view to help identify children. If you want to delete them as well, then delete their incoming links first. If you don't want to delete them then move them up to the same level as the parent.

Hope this helps,
Ken.

This is correct. Deleting an object deletes all its children, which likewise should not have incomming links. Yes, when manipulating the module always show the object Level.

Deleting incoming links is rather a nightmare. Using the Link Module to delete links is also a nightmare.

You can cheat here. Open the source edit, delete the link, then delete the target object. Save the target module but close without saving the source module. The deleted target object will then retain its incoming link; for whatever that's worth.

>Louie

Re: Object cannot be deleted do to invisible link
Curtis_J - Fri May 08 15:43:03 EDT 2009

Thanks for all the posts

It's not the children problem (although I have been stumped by that before), and the problem isn't that I need to delete the link, the problem is I can't find the link.

I have one module (A), I try to delete an object (1879) in it, I get "cannot delete - object(s) have 1 incoming link (via link module (b)) to object 1879 from object 290 in module c. Module C HAS NO LINK OR DEFINED LINKSETS TO LINK TO MODULE A (through link module B or any other). It's a really weird problem... I've been working with doors for 2 years and have never had anything like this. I might have to break down and start a new module to clean out whatever this invisible link is.

Re: Object cannot be deleted do to invisible link
Ron_Lewis - Sat May 09 08:52:40 EDT 2009

Curtis_J - Fri May 08 15:43:03 EDT 2009
Thanks for all the posts

It's not the children problem (although I have been stumped by that before), and the problem isn't that I need to delete the link, the problem is I can't find the link.

I have one module (A), I try to delete an object (1879) in it, I get "cannot delete - object(s) have 1 incoming link (via link module (b)) to object 1879 from object 290 in module c. Module C HAS NO LINK OR DEFINED LINKSETS TO LINK TO MODULE A (through link module B or any other). It's a really weird problem... I've been working with doors for 2 years and have never had anything like this. I might have to break down and start a new module to clean out whatever this invisible link is.

Could you have a link module that is deleted but not purged that contains the link.

If you do -- this link module could be anyplace, including deleted project or folders anywhere in the database.

Re: Object cannot be deleted do to invisible link
llandale - Sun May 10 11:54:53 EDT 2009

Ron_Lewis - Sat May 09 08:52:40 EDT 2009
Could you have a link module that is deleted but not purged that contains the link.

If you do -- this link module could be anyplace, including deleted project or folders anywhere in the database.

... or to which you lack Read access. Login as the 'Administrator' and check it out. Be sure to open your source module and see if you can deal with the link there.

>Louie

Re: Object cannot be deleted do to invisible link
lhall122 - Mon Jun 29 10:00:35 EDT 2009

I'm not sure exactly what is going on, but I had an incoming link from a module in which the object with the outgoing link was deleted and purged. For some unknown reason, I right clicked on the object in the module in which had the "broken" incoming link, and the link disappeared. I have no clue how this fixed my problems, but it may help you.

Re: Object cannot be deleted do to invisible link
kennymcguffie - Tue Jun 30 00:03:16 EDT 2009

lhall122 - Mon Jun 29 10:00:35 EDT 2009
I'm not sure exactly what is going on, but I had an incoming link from a module in which the object with the outgoing link was deleted and purged. For some unknown reason, I right clicked on the object in the module in which had the "broken" incoming link, and the link disappeared. I have no clue how this fixed my problems, but it may help you.

I had this problem. I reported it to support and they gave me a script to repair the links.

Re: Object cannot be deleted do to invisible link
Curtis_J - Tue Jun 30 08:30:57 EDT 2009

kennymcguffie - Tue Jun 30 00:03:16 EDT 2009
I had this problem. I reported it to support and they gave me a script to repair the links.

Any chance I could get a copy of that script?

Re: Object cannot be deleted do to invisible link
kennymcguffie - Sun Jul 05 18:13:19 EDT 2009

Curtis_J - Tue Jun 30 08:30:57 EDT 2009
Any chance I could get a copy of that script?

What's your e-mail Curtis and I'll send you a copy?

Re: Object cannot be deleted do to invisible link
Curtis_J - Mon Jul 06 08:30:11 EDT 2009

kennymcguffie - Sun Jul 05 18:13:19 EDT 2009
What's your e-mail Curtis and I'll send you a copy?

cbissonnette@innovative-ss.com

Re: Object cannot be deleted do to invisible link
SystemAdmin - Wed Sep 02 12:25:08 EDT 2009

Curtis_J - Mon Jul 06 08:30:11 EDT 2009
cbissonnette@innovative-ss.com

Here's a possible solution to your problem...make sure that you don't have any object BELOW the object you are trying to delete that also have links.

Hope that works for you.

Cheers,

Paul M

Re: Object cannot be deleted do to invisible link
SystemAdmin - Wed Sep 30 13:35:25 EDT 2009

SystemAdmin - Wed Sep 02 12:25:08 EDT 2009
Here's a possible solution to your problem...make sure that you don't have any object BELOW the object you are trying to delete that also have links.

Hope that works for you.

Cheers,

Paul M

I ran across a situation this morning where an already deleted object following (and at the same level as) the object I wanted to delete had an incoming link and caused the error. Moving the next non-deleted object after the one I wanted to delete allowed the delete to work. However, I don't think this is the problem you had because the error meassage did call out the object number of the deleted object causing the problem. But it is one more thing to check.

Re: Object cannot be deleted do to invisible link
llandale - Wed Sep 30 13:45:35 EDT 2009

SystemAdmin - Wed Sep 30 13:35:25 EDT 2009
I ran across a situation this morning where an already deleted object following (and at the same level as) the object I wanted to delete had an incoming link and caused the error. Moving the next non-deleted object after the one I wanted to delete allowed the delete to work. However, I don't think this is the problem you had because the error meassage did call out the object number of the deleted object causing the problem. But it is one more thing to check.

I've never run across that, so perhaps its possible that the object you moved 'after' your target was originally 'below' your target, and that object had in-links preventing you from deleting your target. This can happen a variety of ways, including when filtering but more likely when a text object follows its sibling Heading objects.

If what you said truly happened, then that's a very serious bug.

Perhaps there's a problem with a child with in-links, but its deleted and you cannot see it. Yes, you can easily get that to happen: delete the in-links, delete the object and save the target module, then close the source module without saving.

Always display 'Object Level' when dealing directly with objects; either create/delete/undelete/purge/move/copy-paste or whatever.

- Louie