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: Changing DOORS error messages
Topic Summary: Customizing DOORS messages shown in dialog
Created On: 6-Dec-2005 17:48
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.
 6-Dec-2005 17:48
User is offline View Users Profile Print this message


Oliver Röpke

Posts: 42
Joined: 23-Nov-2005

Hi!

it is possible to change the DOORS error message strings to some shorter, easier to understand messages?
I want to provide the users clear and simple messages which completely hide the any information about internals.

For example I prohibited the user to create links from module A to module B.
But if he tries to do so he will be shown an error message like this one:
"A linkset pairing description prevents the creation of links from "/folder xy/folder xyz/A" to "/folder ab/folder abc/B. No link be created."

But this is boring to the normal user since our requirement engineers will not have any idea, e.g. what linksets are.
So I will replace this message by a clear, precise and short message:
"You cannot create a link from module A to module B." That's all.

Does anyone know how to customize the default message strings?

Best regards,
Oliver



-------------------------
Greetings,<BR>Oliver<BR><BR><BR>Oliver Roepke<BR>Axis Engineering AG, Munich
Report this to a Moderator Report this to a Moderator
 7-Dec-2005 10:00
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Not good news I am afraid.

You can use noError and lastError to capture and handle error messages within your DXL.

A call to noError() turns off error reporting.
A call to lastError() turns error reporting back on and returns the error message (or null if no error).

Unfortunately, there is no easy way to suspend error reporting for link creation.

When the user selects "Make link from start", doors executes the standard item linkCompleteFromItem. There is no way to modify this.

You could wrap the call to linkCompleteFromItem in your own DXL, but this would mean editing formal.dxl and creating a new dxl file to be invoked from the menu option.

Another problem is that there is no way to change the popup menu that you get after a drag and drop operation, so users who link by drag and drop would still get the original error message.

Also, I assume that many of the standard DOORS error messages are builtin to the doors.exe as they are not defined in DXL, so you cannot edit the strings.

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 20-Dec-2005 11:04
User is offline View Users Profile Print this message


Oliver Röpke

Posts: 42
Joined: 23-Nov-2005

Hello Tony,

thank you very much for your comprehensive explanations. That's are indeed not good news.
So I will try to wrap call to linkCompleteFromItem to see what this means to other DXL scripts.

And probably I will send a proposal to Telelogic to make error messages configurable.

Best,
Oliver

-------------------------
Greetings,<BR>Oliver<BR><BR><BR>Oliver Roepke<BR>Axis Engineering AG, Munich
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.