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: Problems Saving View Definition
Topic Summary: Still get view changes warning after saving ViewDef
Created On: 9-Aug-2007 11:22
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-Aug-2007 11:22
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

I am copying views from one module to another.
The views are created successfully.
However, when I change views in the target module I get the view changes warning popping up.
If I save the view manually then th warning stops.

I am calling save(Module, View, ViewDef) in my script but this does not seem to work.

I have also used Michael Sutherlands Copy Views script and that too suffers from the same problem.

Any ideas what's going on?

I am using DOORS 8.1.

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

Edited: 9-Aug-2007 at 11:22 by Tony Goodman
Report this to a Moderator Report this to a Moderator
 9-Aug-2007 12:09
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

I figured it out.
The problem was a silly bug in a loop counter.

The attached code demonstrates the error.
Columns are inserted at a specified position, starting at 0, but the error in the code means that the first column is inserted at position 1.
Doors does not complain abbout this and the columns appear to be created successfully in the view.

However, if you have view changes warnings turned on, the warning is displayed whenever you change from the new view to another view.

Interesting.

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 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 2 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.