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: Electronic Signatures in Module Attribute
Topic Summary:
Created On: 11-Jan-2008 08:59
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.
 11-Jan-2008 08:59
User is offline View Users Profile Print this message


chaithali punchatar

Posts: 21
Joined: 22-Apr-2007

Another question with regards to Module Attributes.Is it possible to have a Module Attribute thats holds the Usernames of those Users who signed the Last Baseline of the module? I guess:
1. I can use getUserName(sigEntry) to fetch the usernames
2. have a string attribute at module level
3. Assign the usernames to this attribute (but how?)..and go from there..??
Report this to a Moderator Report this to a Moderator
 11-Jan-2008 14:26
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

Report this to a Moderator Report this to a Moderator
 12-Jan-2008 10:39
User is offline View Users Profile Print this message


chaithali punchatar

Posts: 21
Joined: 22-Apr-2007

What should this code essentially return?
SignatureInfo sigInfo
print getSignatureInfo(sigInfo, module(current Module),0,1,"")
I have baselines with version 1.0,2.0 etc, & I get the message 'No baseline at that version' when I run the above piece of code on the current version of the module.
Report this to a Moderator Report this to a Moderator
 14-Jan-2008 10:07
User is offline View Users Profile Print this message


Uma Unnikrishnan

Posts: 32
Joined: 7-Aug-2006

You seem to have major versions, so try
print getSignatureInfo(sigInfo, module(current Module),1,0,"")
Report this to a Moderator Report this to a Moderator
 14-Jan-2008 10:55
User is offline View Users Profile Print this message


chaithali punchatar

Posts: 21
Joined: 22-Apr-2007

I did try both. 0,1,"" on a minor version & 1,0,"" on major version.Former returns the above message & latter returns nothing.Maybe am missing something.
Report this to a Moderator Report this to a Moderator
 15-Jan-2008 05:51
User is offline View Users Profile Print this message


Uma Unnikrishnan

Posts: 32
Joined: 7-Aug-2006

You get a non null string if there is an error and in case of it being correct it returns null and hence you do not get to see any messages.
So if you intend to use the siginfo further then you can do so by
string s = getSignatureInfo(sigInfo, module(current Module),1,0,"")
if(!null s)
......
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.