Opened 9 years ago

Closed 9 years ago

#213 closed defect (fixed)

'visibility' attribute is initialized to the wrong default

Reported by: vadim.godunko Owned by:
Priority: major Milestone: 0.3.0
Component: Matreshka - AMF Version:
Keywords: Cc:

Description

UML::PackageableElement::visibility attribute restricts redefined UML::NamedElement::visibility attribute to multiplicity 1..1 and define default value to be 'public'. Nevertheless, constructors initialize it to "no-value", which is expected for redefined attribute. This ticket is to fix this bug.

Change History (2)

comment:1 by vadim.godunko, 9 years ago

In [2874]:

Use default value of last attribute in redefinition chain to provide
expected default for new element.

Refs #213.

comment:2 by vadim.godunko, 9 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.