![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Link Deletion problems Topic Summary: Created On: 19-Jul-2006 21:15 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: try "flushDeletions()" after deleting the links. Then also "save(mod)". Then recreate then links, followed again with "flushDeletions()" and "save(mod)". - Louie | |
![]() |
|
I am looking to delete outlinks to a single module, that generally are discovered through a filter. Then, nearly immediately, recreate links to the same module though the links may or may not be the same that were deleted. It is all based on an attribute set of values.
What I am experiencing is that the deletes of the links appear to occur, then the creation of links appears to occur. When the script exits all links have been removed, though the newly created links are not. If the deletes are executed and the script is allowed to end, the deletes are realized. If I then manually run the creation part of the script, the correct links are created. The problem is that the deletion of the original links appears to not be "commited" until after the script has come to an end, thus superceding the creation. I am sure it is something that I have done inappropriately in the deletion portion. Can someone point me in a direction as to what is the appropriate chain of events that should occur to realize the link deletions before proceeding with the creation. I have recently inherited the Doors admin duties as our admin resigned. So a lot of this is new and exciting territory. |
|
![]() |
|
![]() |
|
try "flushDeletions()" after deleting the links. Then also "save(mod)". Then recreate then links, followed again with "flushDeletions()" and "save(mod)".
- Louie |
|
![]() |
|
![]() |
|
Thanks for the quick answer. Works great. I just want to be sure on which mod to save. The link module or the module from which the links are created/deleted.
Again, thanks a million! |
|
![]() |
|
![]() |
|
Not sure how it all works, but to create a link you need write access to the source OBJECT and only need Read access to the link module. You would therefore save the source (formal) module. If ever you start dealing with link attributes, then the attributes need to be created in the Link module, but when you set their values you are modifying the source module.
- Louie |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Link Deletion problems
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.