Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Delete an inlink object
Topic Summary: How to...?
Created On: 15-Jan-2008 13:36
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 15-Jan-2008 13:36
User is offline View Users Profile Print this message


Doors Group

Posts: 61
Joined: 31-Jan-2007

Hi,
Anyone knows a way to delete an inlink object.
The source object has been deleted and purged, in the target I able to see the Absolute Number of the source object, but when I click on it, I get an error, that says the object has been deleted.

Can anyone help me find a way to solve this problem?


Thanks
Report this to a Moderator Report this to a Moderator
 15-Jan-2008 15:31
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

I think you are asking how to delete an inlink from a deleted or purged object (not deleteing an object).

I doubt there's an existing link sourced from a now purged object. If there is, you could possibly delete such a link by opening the source module exclusive, then editing the link in the target module and deleteing it.

More likely is that the source object is deleted (but not purged) and you don't have R access to it.

You could also run the attached after opening the source module Exclusive and selecting the target object, in order to try to delete its inlinks.

- Louie
Report this to a Moderator Report this to a Moderator
 15-Jan-2008 15:52
User is offline View Users Profile Print this message


Doors Group

Posts: 61
Joined: 31-Jan-2007

I have all the access to this Module, I support the DOORS administration and most of the access that the DOORS admin has i have them to. When i open the Module properties access tab, my name has RMCDA access.
Report this to a Moderator Report this to a Moderator
 15-Jan-2008 23:37
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Its possible to have full RMCDA access to the module, yet lack even R rights to anything in it. That's because views, objects, and attributes all have their own rights which can be different from the module.

Do you have this same problem when logged in as the Administrator?

- Louie
Report this to a Moderator Report this to a Moderator
 16-Jan-2008 12:03
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

Reading thru the thread -- it appears that you need to change your process.

For manual solution of the problem follow these steps:

-Go to the modules that is the source of the link
-Open source module in edit mode
-Show deletions on the GUI
-Select the source object in questions
-Undelete the source object
-Delete the links in the source object
-Delete the source object.
Report this to a Moderator Report this to a Moderator
 16-Jan-2008 16:57
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

This script might help you find and delete these "Dead Links". Select the module(s) in the DOORS Explorer and run the script. The script will check each of the selected modules for the following:

Check that deleted objects do not have out links.
Check that any object does not have a link to a deleted object.
****Note: this should not be possible as DOORS doesn't allow you to delete an object with incoming links.
Checks the in links on each object to make sure the link isn't coming from a deleted object.

If you select to delete the "Dead Links" it will only delete the links in the modules selected. It will not delete a "Dead Link" coming from another module. This was due to limititions our project has on making modifications, not that it can't be done.

There's a lot of commented code in the script, again this is project specific stuff and you shouldn't need it.

Hope this helps.

-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com

Edited: 16-Jan-2008 at 16:58 by Scott Boisvert
Report this to a Moderator Report this to a Moderator
 16-Jan-2008 19:11
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Create a link from module A to B and save both modules. Then edit A and delete the link, then edit B and delete the former target object. Save and close B. Close without saving A. Viola! the object in A links to a deleted object in B.

- Louie
Report this to a Moderator Report this to a Moderator
 16-Jan-2008 21:29
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

Heh...OK... You got me there Louie.

I've seen it several times, just not recently, forgot you could do that.

Anyone else find it strange that DOORS throws a warning when you try to delete an object with in links, but not with out links?

-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com
Report this to a Moderator Report this to a Moderator
 17-Jan-2008 20:05
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Links are directional, and DOORS ..err.. Telelogic correctly interprets a link from A to B to mean 'A is somehow dependant on B'. Perhaps 'A satisfies B' or 'A references B' or 'A tests B'. If so, it would be OK to 'delete' A since B doesn't really care, but it doesn't make sense to delete B since A does care.

- Louie
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.