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: Creating links - bug
Topic Summary:
Created On: 7-Sep-2004 13:03
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.
 7-Sep-2004 13:03
User is offline View Users Profile Print this message


Paul Howstan

Posts: 4
Joined: 29-Jun-2004

Hi,

I am trying to create links in DXL. There is a problem that references to the link module are left in the 'manage Open Modules' window. Its a contrived scenario, but its one I've needed to use a couple of times and can lead to DOORS failing.

To recreate the problem: create two formal modules with a couple of objects, and a link module. Close the link module. Use the 'Links->Create Links' window to create a link between any two objects. If you then save and close the target module (you'll notice that there are two references to the link module in the manage open modules window), then the source module (one of the references will go), a read-only, undisplayed reference to the link module remains.

In DXL this presents a problem, in that you can't get a handle to the persistent reference, so you can't delete the link module (since Doors thinks it is open). Even if you get a separate reference to the link module then try to close it, the original reference still remains. Trying to then softDelete the link module causes Doors to crash.

Interestingly, if you then try to create another link between the same two Formal modules with the same Link module, the extra reference is not created. This may mean that the initial creation of the linkset is creating the extra reference and not tidying up after itself.

The ONLY way I've managed to get rid of the reference is to close it trough the manage open modules window.

There must be a way in DOORS to get the references to a module since the manage open modules window does it.

Any ideas?

Paul
Report this to a Moderator Report this to a Moderator
 7-Sep-2004 16:02
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

I have never really got to grips with how this works, but
have you tried unloading the linksets and then closing the modules.

e.g.


unload(link-module)
close(formal-module)





-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 7-Sep-2004 22:33
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

This should close all modules:
Module mod
for mod in database do
{ close(mod)
}
for mod in database do
{ close(mod)
}

Expect prompts if the module is edit or share and not yet saved.

Runs twice, the first closes all the formals but may leave some link modules open. The second then closes the remaining link modules.

- Louie

Edited: 7-Sep-2004 at 22:34 by Louie Landale
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.