-
Bug
-
Resolution: Done
-
Blocker
-
7.1.0.Final
The Dynamic Form generated from a nested object hierarchy binds objects/widgets to the incorrect instances. For example; the below classes define an Id form field that is used in both InputData (through inheritance) and InformationItem (through sub-form reference and inheritance). When changing the Id field (for example) in the InputData form property the "Id" value of the nested "Information Item" is updated.
public abstract class DMNModelInstrumentedBase implements DMNDefinition { //No @FormFields etc } public abstract class DMNElement extends DMNModelInstrumentedBase { @Property @FormField protected Id id; @Property @FormField(afterElement = "id") protected Label label; @Property @FormField(afterElement = "label") protected Description description; .... } public abstract class NamedElement extends DMNElement { @Property @FormField(afterElement = "description") protected Name name; .... } @FormDefinition(policy = FieldPolicy.ONLY_MARKED) public class InformationItem extends NamedElement implements DMNPropertySet { @Property @FormField(afterElement = "name") protected QName typeRef; .... } public abstract class DRGElement extends NamedElement {} @FormDefinition(policy = FieldPolicy.ONLY_MARKED) public class InputData extends DRGElement { ... @PropertySet @FormField(afterElement = "name") protected InformationItem variable; ... }
- blocks
-
DROOLS-3141 [DMN Designer] Decision Table: Add additional Properties to drill-down
- Closed
- causes
-
DROOLS-3148 [DMN Designer] Graph view is taking the Name from the InformationItem and not the Decision
- Closed
- is related to
-
JBPM-7921 Stunner - [DMN Modeler] Dynamic Form Properties with nested hierarchy. Additional test coverage.
- Resolved
-
DROOLS-3250 [DMN Designer] Information Item name is empty by default
- Closed
-
DROOLS-3251 [DMN Designer] Question and Allowed answers are not marshalled
- Closed
-
DROOLS-2394 [DMN Designer] Rename of output changes back to link
- Closed
- relates to
-
DROOLS-2941 [DMN Designer] - Save external DMN model
- Closed