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: User managed to create the default link module themselves
Topic Summary: and I can't work out why
Created On: 9-Jul-2008 09:17
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.
 9-Jul-2008 09:17
User is offline View Users Profile Print this message


Alan Gooch

Posts: 107
Joined: 30-Aug-2005

Using DOORS v71167

I having a bit of brain fade. We have a user who has managed to create links between modules which have defaulted to the "DOORS Links" link module.

When they tried to create a link they had the message "A linkset does not exist for this operation. Do you want to create one?", and said "Yes".

In other modules, when trying to create a link for which the pairing had not been set up we get a message to the effect "A linkset pairing restriction prevents teh creation of links from x to y. No link will be created." Yet I can't see any difference in the source moduloe for this attempt to create a link and the one above.

I appreciate that via the DOORS Explorer menu you can use Tools|Options and the Settings Tab to see the "Default Link Module", but this is the first time I've ever seen it used.

What should I be looking for that permitted them to set up the default link module themselves?
Report this to a Moderator Report this to a Moderator
 9-Jul-2008 09:33
User is offline View Users Profile Print this message


Alan Gooch

Posts: 107
Joined: 30-Aug-2005

Okay, I've worked out the answer myself, as the "Only allow outgoing links as specified in the above list" checkbox was unset in the Module Properties.

However, I have another related question.... is there a module-level attribute that can be searched via a script to ensure this checkbox is checked?
Report this to a Moderator Report this to a Moderator
 9-Jul-2008 09:47
User is offline View Users Profile Print this message


Tony Goodman

Posts: 97
Joined: 6-May-2008

For some reason this is undocumented.

bool getLinkModuleDescriptorsExclusive(Folder, ModName_)

The associated perm to set is documented:

void setLinkModuleDescriptorsExclusive(Folder, ModName_, bool)

-------------------------
Tony Goodman
Smart DXL limited
www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 22-Jul-2008 22:23
User is offline View Users Profile Print this message


Uma Unnikrishnan

Posts: 14
Joined: 8-Jul-2008

You could also create the default DOORS link module and do a soft delete of it. This would prevent the default module from being used. I have found this useful since some users create new modules and even before I get a chance to ensure that the 'only outgoing links...' option is enabled, they would try linking.
Report this to a Moderator Report this to a Moderator
 23-Jul-2008 15:36
User is offline View Users Profile Print this message


Andrew Tagg

Posts: 151
Joined: 26-Oct-2004

Yep, im in the habit of creating the DOORS links mod in every folder and soft deleting it, a bit of extra work, but has saved me lots of tiresome link redirections over the years.

-------------------------
Andrew Tagg
Thales Air Systems, Melbourne
Australia.
andrew.tagg@thalesatm.com
Report this to a Moderator Report this to a Moderator
 4-Aug-2008 16:02
User is offline View Users Profile Print this message


Alan Gooch

Posts: 107
Joined: 30-Aug-2005

I tried using getLinkModuleDescriptorsExclusive, but everything returns false, even though I know the "Only allow outgoing links as specified in the above list" checkbox is set for most module.
Report this to a Moderator Report this to a Moderator
 6-Aug-2008 13:53
User is offline View Users Profile Print this message


Tony Goodman

Posts: 97
Joined: 6-May-2008

Alan,

The current folder is not set when you loop through items!

change your function call to this:

if (getLinkModuleDescriptorsExclusive(getParentFolder(it), module(mn))

-------------------------
Tony Goodman
Smart DXL limited
www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 7-Aug-2008 11:24
User is offline View Users Profile Print this message


Alan Gooch

Posts: 107
Joined: 30-Aug-2005

Thanks Tony, works a treat now.
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.