![]() |
Telelogic DOORS (steve huntington) | ![]() |
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 |
![]() |
![]()
|
![]() 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. | |
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.