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: Date suspect link was cleared?
Topic Summary: If suspect link has never been cleared, what is value?
Created On: 4-Nov-2005 20:15
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.
 4-Nov-2005 20:15
User is offline View Users Profile Print this message


Scott Covington

Posts: 17
Joined: 29-Nov-2004

When the link is created

l."Suspicion Cleared Forwards"
l."Suspicion Cleared Backwards"

are both blank, however the clear suspect link dialog still says suspect link last cleared on ... down to the second.

I believe that when the Cleared field is blank, it goes to the l."Last Modified On" field.
However, my Last Modified field is on the form "27 January 2005" (no hours/minutes/seconds).

So when I do the following code piece:

Date mod_date
mod_date = l."Last Modified On"
print mod_date " : " (dateOf(intOf(mod_date))) "\n"

I get:
27 January 2005 : 01/27/05 00:00:00

How do I get the ACTUAL modification date including the correct HH:MM:SS?

This same question applies to getting the modification date of an object.
Report this to a Moderator Report this to a Moderator
 7-Nov-2005 22:37
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

I think you are correct that the last modified date is rounded to the beginning of the day, and that's tough luck if you need more precision.
Report this to a Moderator Report this to a Moderator
 7-Nov-2005 23:06
User is offline View Users Profile Print this message


Scott Covington

Posts: 17
Joined: 29-Nov-2004

That is certainly the way it seems.
However, when you go to clear the suspect link, DOORS dialog gives you MORE precision.
It says the suspect link was last cleared on ... and it gives the FULL precision.

Where in the !@#%! is it getting that precision?
From a hidden attribute that they don't tell us about?

Please don't tell me that this is one of those wonderful DOORS "features", where DOORS can access information that you can't get with the DXL.

All I want is access to the same information that the dialog is pulling from somewhere ... is that too much to ask?
Report this to a Moderator Report this to a Moderator
 8-Nov-2005 09:29
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

The suspect link functionality uses the date from the history records, not the "Last Modified On" attribute. This explains why there seems to be a mismatch between the precision being shown.

To get the ACTUAL date that the object was last modified you need to look at the history records.
Something like this ...

-------------------------
Tony Goodman
http://www.smartdxl.com

Edited: 8-Nov-2005 at 09:34 by Tony Goodman
Report this to a Moderator Report this to a Moderator
 8-Nov-2005 23:21
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

The Last Modified On attr doesn't keep track of hours+minutes, but that doesn't mean other Date attributes don't. I didn't look but link modules they have some attributes and the Suspect Link stuff makes use of them. Getting dates from the link may look like this:
Link lnk
Date LinkDateValue
for lnk in obj -> "WhatsMyLinkModuleName" do
{ LinkDateValue = lnk."WhatsTheAttrNameFoundInTheLinkModule"
}

Remember that even though the Attr is defined in the Link Module (and you can add your own), the information is stored somewhere in the source module in a manner that only Goodman probably knows. Realistically this means you modify link attrs you need the source module open shared or exclusive.

- Louie
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 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 0 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.