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: Trigger Delay
Topic Summary:
Created On: 26-Apr-2004 22:58
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.
Answer This question was answered by Louie Landale, on Friday, March 11, 2005 5:05 PM

Answer:
"...and chasing a quirk that you'll probably never get to the bottom of, and really doesn't matter in the big picture".

Am I that transparent?

- Louie
 26-Apr-2004 22:58
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Deployed a DB trigger. It runs ok.
Loaded two doors, [1] and [2]
Using [1] removed the Trigger. Verified it was gone.
Window [2] still fired the trigger. However, when I confirmed in this window the trigger was not present and stopped triggering.

It appears there is either some delay in posting triggers, or each DOORS Explorer tends to load all the relevant Triggers (perhaps when you change Folders or Projects) and does not notice when one was removed.

Anybody else see this odd behavior?

- Louie
Report this to a Moderator Report this to a Moderator
 29-Apr-2004 16:27
User is offline View Users Profile Print this message


Douglas Zawacki

Posts: 97
Joined: 14-Aug-2003

Louie,

I have seen some interesting things with triggers.
There are three categories of triggers.

1.Database
2. Project
3. Module

I found that if you create a project trigger you will not may see it when you look for the database triggers etc. but may not be able to delete it. I have not tried this for all permutations. But, my belief is that you need to use all 3 looping constructs and see what you come up with.
Report this to a Moderator Report this to a Moderator
 29-Apr-2004 16:44
User is offline View Users Profile Print this message


Paul Tiplady

Posts: 176
Joined: 28-Oct-2003

I can't say I'm surprised by the symptoms you've described. I'd expect a DB trigger to be loaded when the DB is loaded, and then to run whenever triggered (because it's loaded). I'd expect that, if that trigger was removed by a second instance of the client, the trigger would remain in the first instance until there was some specific client activity to access it (like confirming it's existence, or attempting to edit it, or whatever). Then I'd expect it to not be there, even though it had previously fired after being removed from the other instance.

I don't actually think this is a problem. The overhead involved in checking whether the trigger still exists (after it's been loaded) every time the opportunity arises to fire it, would slow the whole system down to a snail's pace. There has to be some compromise if the system is to run at acceptable speeds, and this seems like a reasonable one.

Sticking my pragmatist hat on , is this stopping you doing anything that actually matters? Or are you just doing what all us engineers love to do, and chasing a quirk that you'll probably never get to the bottom of, and really doesn't matter in the big picture?

-------------------------


Paul dot Tiplady at TRW dot com
TRW Automotive
Report this to a Moderator Report this to a Moderator
 5-May-2004 20:36
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Triggers defined as "project-all" are stored in the DB. Other sorts are stored in the current project or current module. Yes, looping through the current project's triggers will NOT find DB stored triggers.

- Louie
Report this to a Moderator Report this to a Moderator
 5-May-2004 20:43
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Answer Answer
"...and chasing a quirk that you'll probably never get to the bottom of, and really doesn't matter in the big picture".

Am I that transparent?

- Louie
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.