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: broken views after archiving
Topic Summary:
Created On: 5-Dec-2005 17:14
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 Baher Mohamed, on Tuesday, June 13, 2006 2:45 PM

Answer:
this was fixed in DOORS 8.0
 5-Dec-2005 17:14
User is offline View Users Profile Print this message


Baher Mohamed

Posts: 63
Joined: 21-Jun-2005

hello, All,

Here is the problem. I archive a project on my computer and restore it on my coworkers computer so he can have an updated copy if he needs to read data. Both have their own standalone licenses. In doing so, the 8-10 digit module references in the dxl for layout columns no longer matches the module IDs on my coworkers computer. Looking for information on how to get at these IDs to replace the old incorrect ones with the new ones..I attached the script i used to get the database structure with IDs...
Report this to a Moderator Report this to a Moderator
 5-Dec-2005 22:45
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

This has nothing to do with licensing. A restored module will retains its original Object IDs, but the Module's unique ID is assigned by the host database and is thus different in the new database. There is another issue vis-a-vis specific access rights, but that's another topic.

If this is important, I'd be tempted to give him the entire database: turn off the source DOORS server. Zip up the housing folder. Move that to the target Client. Unzip in its DB location. This will copy the entire DB as is, including all the user names and passwords. Your friend, then, could archive which ever projects he wants before you wipe out his database, then restore them afterwards.

You can try to go this way, but its will be real tough. If you run your script on the source and the target projects and merge them, you still have to find all the DXL and make the replacements manually. I suppose you COULD write a DXL that can modify the other DXL, but that will get real sticky.

- Louie
Report this to a Moderator Report this to a Moderator
 6-Dec-2005 11:31
User is offline View Users Profile Print this message


Hazel Woodcock

Posts: 78
Joined: 6-May-2005

You could try editing the layout dxl column to refer to the module name, this would make it portable, but if you then re-name the module it will break.

How about some dxl to look in the module views and record the module references and the module names, then in the new database to look for the module names and find the reference. Then update the layout dxl. That would be complicated.

If you don't need live updates then you could convert the layout dxl to attribute dxl (I think the inbuilt conversion will auto update when you load the module, so you need something that will just be text) and then you will have a static colunm.

Hazel
Report this to a Moderator Report this to a Moderator
 6-Dec-2005 19:39
User is offline View Users Profile Print this message


Baher Mohamed

Posts: 63
Joined: 21-Jun-2005

Thanks everyone for the info. My boss says a few years ago with DOORS 6 there was a script that he was told he could run to convert all the module IDs to pathnames instead of numbers which is what we have tried to call Telelogic about but no one knows about it...yet :-) I felt that since with that script above telling me module IDs in both databases, if i new where that info was kept in the DOORS directory, writing something that goes in and changes x for y where needed would be what i wanted to do...if possible...

Louie,
I kind of missed something in what you said about licensing. I would like to re-itterate the fact that I have the client and server running on my machine alone and he has the same setup on his. I dont know if that was clear because you mentioned licensing or maybe i just miss-understood what you were saying. Would your method work in that environment?

Hazel,
whats the syntax for using module paths instead of IDs? i tried a couple things that were shots in the dark, but i think you would probably know off the top of your head...

Thanks again, guys...
Report this to a Moderator Report this to a Moderator
 6-Dec-2005 22:00
User is offline View Users Profile Print this message


Baher Mohamed

Posts: 63
Joined: 21-Jun-2005

Disregard what i said about the license. I think i was just having a Jr moment ;-)
and thought it made a difference since we arent in a typical distributed client/server situation.


...yet another Jr moment...
what are the "from" and "to" locations in the DOORS directory? I found no 'housing' folder so i took that to mean 'the folder that houses' the data

as always, it is much appreciate!
B

Edited: 6-Dec-2005 at 22:03 by Baher Mohamed
Report this to a Moderator Report this to a Moderator
 6-Dec-2005 22:33
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

When you install your local DOORS server you tell it where to create the database; I call that the housing folder. "Folder" means Windows directory and doesn't mean DOORS folder.

Did you forget where? It can be located by running your registry editor (regedit.exe) at location \HKEY_LOCAL_MACHINE\Software\Telelogic\DOORS_Server\7.1\Config, value "ServerData". Be very careful when viewing your registry, don't change anything.

- Louie
Report this to a Moderator Report this to a Moderator
 6-Dec-2005 22:54
User is offline View Users Profile Print this message


Baher Mohamed

Posts: 63
Joined: 21-Jun-2005

oh, i figured you meant windows folder. I was looking at a 'data' folder in the doors program file directory and figured that was the one. the registry confirmed it. i was just looking at the "migrating data" section of one of the manuals and thought that might be the way to go. now i see based on your thoughts, that that was what you were telling me to do and i will give that a shot...

Thanks!
Report this to a Moderator Report this to a Moderator
 7-Dec-2005 21:46
User is offline View Users Profile Print this message


Michael Sutherland

Posts: 248
Joined: 13-Sep-2002

quote:

Originally posted by: Baher Mohamed
Thanks everyone for the info. My boss says a few years ago with DOORS 6 there was a script that he was told he could run to convert all the module IDs to pathnames instead of numbers which is what we have tried to call Telelogic about but no one knows about it...yet :-)


Baher,

I believe your boss may have been thinking about the following package that installed with DOORS 6.x:

-------------------------
Michael Sutherland
michael@galactic-solutions.com
http://galactic-solutions.com
Report this to a Moderator Report this to a Moderator
 7-Dec-2005 21:54
User is offline View Users Profile Print this message


Baher Mohamed

Posts: 63
Joined: 21-Jun-2005

I forwarded him the info. Upon first inspection myself, it looks like that might be the ticket. He has had some conversatoins with Telelogic in the last few days he forwarded to me and it seems like they tracked down a possible script to answer the question from their prod dev team. They said they want to test it on DOORS 7 first, i guess before giving to him. Also, they said that issue has been fixed in DOORS 8. In any event, i think either your scripts, Louie's suggestion about moving the data folder over instead of archiving, or just upgrading to DOORS 8 will do the trick.

it is much appreciate, everyone :-)
Baher
Report this to a Moderator Report this to a Moderator
 8-Dec-2005 10:52
User is offline View Users Profile Print this message


Hazel Woodcock

Posts: 78
Joined: 6-May-2005

quote:

Originally posted by: Baher Mohamed

whats the syntax for using module paths instead of IDs? i tried a couple things that were shots in the dark, but i think you would probably know off the top of your head...




Sorry, but I don't do dxl, I only come up with ideas of what might be possible, and then leave the clever bits to those who know.
Can any of the usual suspects enlighten us?
Report this to a Moderator Report this to a Moderator
 9-Dec-2005 09:11
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

quote:

Originally posted by: Hazel Woodcock

Sorry, but I don't do dxl, I only come up with ideas of what might be possible, and then leave the clever bits to those who know.



You must be a consultant then! ;-)

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 13-Jun-2006 14:45
User is offline View Users Profile Print this message


Baher Mohamed

Posts: 63
Joined: 21-Jun-2005

Answer Answer
this was fixed in DOORS 8.0
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.