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: Can I import a rtf file in shareable edit mode?
Topic Summary:
Created On: 13-Jul-2004 22:54
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 Al Lione, on Friday, March 11, 2005 4:50 PM

Answer:
We are trying to import some rtf files in shareable edit mode. Multiple users have their respective sections locked. They want to import below, and are getting an error message that the module must be opened in edit mode (it does not mention shareable or exclusive). The import obviousely works in exclusive edit, but then other users can't modify the module during this time. Is there a way to do this in shareable edit mode?
We are running 6.0 SR1
 13-Jul-2004 22:54
User is offline View Users Profile Print this message


Al Lione

Posts: 59
Joined: 13-Jul-2004

Answer Answer
We are trying to import some rtf files in shareable edit mode. Multiple users have their respective sections locked. They want to import below, and are getting an error message that the module must be opened in edit mode (it does not mention shareable or exclusive). The import obviousely works in exclusive edit, but then other users can't modify the module during this time. Is there a way to do this in shareable edit mode?
We are running 6.0 SR1
Report this to a Moderator Report this to a Moderator
 14-Jul-2004 08:49
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

The RTF import code (in lib/dxl/utils/doctools/importif.inc) contains the following check:

if (!isEdit impMod) {
ack "Module " impModName " must be open in edit mode for import"
halt
}

If you change this to the following, it will work in shared edit mode.



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

Edited: 14-Jul-2004 at 09:00 by Tony Goodman
Report this to a Moderator Report this to a Moderator
 16-Jul-2004 11:56
User is offline View Users Profile Print this message


Al Lione

Posts: 59
Joined: 13-Jul-2004

I made the code changes, but it's not working. I still get the same message.
However, I did a little experimenting and changed the text string of the error message. The new string is not showing up, so something is weird here.
I re-started DOORS on my client machine. Do I need to stop/start the server as well?
Report this to a Moderator Report this to a Moderator
 16-Jul-2004 19:44
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

"edit" usually means "exclusive" edit.

I suspect but don't know that it should be "edit" and not "shared" so the importer can muck around with Module level attributes, presumably those "rtf xxx" attributes such as "rtf table".

The user can import into a temporary module created and open for that purpose, then copy the objects and paste them into their shareable section. I'd be tempted to create a temp module for that purpose and tell the users not to save it.

You yankees don't know nut'n.

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