![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Creating links - bug Topic Summary: Created On: 7-Sep-2004 13:03 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Creating links - bug
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.