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: Mixing "multi-valued" and "inherits value" in attribute definition
Topic Summary: Attribute values do not inherit to children if children already have values selected
Created On: 15-Jul-2008 15:36
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 Tony Goodman, on Thursday, July 17, 2008 2:45 PM

Answer:
If you set the value of the attribute on the lower level object. this switches off the inheritance.

You can see this by opening the object properties ppane, edit the attribute and notice that the "inherit" box is unchecked.

Set the attribute to NULL for all lower level attributes and then inheritance will work correctly.
 15-Jul-2008 15:36
User is offline View Users Profile Print this message


Steve Baylor

Posts: 1
Joined: 11-Jul-2008

I have a attribute called "Flags" which uses an enumerated type. I want to be able to select multiple values per object, as well as inherit all values down to the descendants of the object. I have both the "multi-valued" and "inherits value" options checked in the definition of the attribute.

This should theoretically be possible, but Doors is having trouble with it in certain situations. When I select a value at a parent level, the value cascades down the tree as expected. I can also select more than one value and those values also cascade normally. The problem occurs when a descendant already has one or more values selected. In this case, the value selected at the parent does not cascade to the child.

For example: The Flags attribute uses the FlagsType type which consists of the values "Flag A" and "Flag B". I have objects 1 and 1.1. If the attribute of object 1.1 is blank and I select the Flags attribute of Object 1 to "Flag A", object 1.1 will also display "Flag A". However, if object 1.1 is already set to "Flag B", when I set object 1 to "Flag A", object 1.1 still only displays "Flag B", instead of displaying both flags as I would like.

I am using Doors 8.1. Please let me know if you need any more information. Why does Doors do this, and how can I implement this functionality, without having to split the multi-valued Flags attribute into multiple single-valued attributes?

Thanks. Steve
Report this to a Moderator Report this to a Moderator
 15-Jul-2008 16:05
User is offline View Users Profile Print this message


Tony Goodman

Posts: 97
Joined: 6-May-2008

Answer Answer
If you set the value of the attribute on the lower level object. this switches off the inheritance.

You can see this by opening the object properties ppane, edit the attribute and notice that the "inherit" box is unchecked.

Set the attribute to NULL for all lower level attributes and then inheritance will work correctly.

-------------------------
Tony Goodman
Smart DXL limited
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 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.