View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002257 | 10030: ISA-95 | Implementation Bug | public | 2012-11-07 03:16 | 2021-03-03 08:14 |
Reporter | Paul Hunkar | Assigned To | Randy Armstrong | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | acknowledged | Resolution | reopened | ||
Summary | 0002257: Model compiler issue (for ISA-95 information model) | ||||
Description | The model compiler does not allow a variable with a data type of structure to be subtyped with an updated datatype of a specific structure. the specific structure is a more specific defintion of a structured and thus should be allowed. | ||||
Tags | No tags attached. | ||||
|
SMG: please estimate and address the topic accordingly |
|
The datatype of auto-generated class fields with Datatype Structure is ExtensionObject. The data type of auto-generated class fields with a sub-type of structure is the model defined datatype. Sub-typing a variable means the auto-generated class subtype overrides the field declaration with the specific datatype in the subtype. This works nicely if the supertype declares a model defined datatype. It does not work if the supertype defines a field of type ExtensionObject because ExtensionObject is not a base class of the model defined datatype. Coding a work around would mean classes would look difference depending on whether the original supertype was 'structure' or a 'user defined' data type. i.e. if the original is a structure there would be no overridden field with the model defined datatype. |
|
The specification clearly says that a structure type can be sub typeded to a specific structure. I understand that it may require additional coding, but not fixable is not an anwser. |
|
issue will be addressed in 335 |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-11-07 03:16 | Paul Hunkar | New Issue | |
2012-11-12 17:45 |
|
Note Added: 0004224 | |
2012-11-12 17:45 |
|
Assigned To | => Randy Armstrong |
2012-11-12 17:45 |
|
Status | new => acknowledged |
2013-02-21 00:46 | Randy Armstrong | Status | acknowledged => resolved |
2013-02-21 00:46 | Randy Armstrong | Resolution | open => not fixable |
2013-02-21 00:46 | Randy Armstrong | Note Added: 0004483 | |
2013-02-25 16:24 | Paul Hunkar | Status | resolved => feedback |
2013-02-25 16:24 | Paul Hunkar | Resolution | not fixable => reopened |
2013-02-25 16:24 | Paul Hunkar | Note Added: 0004491 | |
2013-06-03 17:08 |
|
Note Added: 0004710 | |
2013-06-03 17:08 |
|
Status | feedback => acknowledged |
2015-02-18 14:28 | Randy Armstrong | Category | (No Category) => Implementation Bug |
2021-03-03 08:14 | Randy Armstrong | Project | NodeSets, XSDs and Generated Code => 10030: ISA-95 |