ETSI's Bug Tracker - Part-1 Metamodel
View Issue Details
0007177Part-1 Metamodel[TDL] Technicalpublic14-09-2015 17:1615-02-2016 12:31
Philip Makedonski 
Philip Makedonski 
normalminorhave not tried
resolvedfixed 
[TDL] Part-1 V1.2.1 
[TDL] Part-1 V1.3.1[TDL] Part-1 V1.3.1 
0007177: StaticDataUse constraint needs to be revised and moved to DataInstanceUse
The constraint

Static data use in structured data
If the 'DataInstance' refers to a 'StructuredDataInstance', all its members shall obtain 'ParameterBinding's that refer to 'StaticDataUse'.

is only applicable to DataInstanceUse. It shall be moved to corresponding element specification. In addition, the constraint currently implies that that *all* its members shall be assigned. Based on previous discussions, it shall be relaxed by removing the 'all' qualifier to read:

Static data use in structured data
If the 'DataInstance' refers to a 'StructuredDataInstance', its members shall obtain 'ParameterBinding's that refer to 'StaticDataUse'.

or better yet:

Static data use in structured data
If the 'DataInstance' refers to a 'StructuredDataInstance', all of its 'ParameterBinding's shall refer to 'StaticDataUse'.

No tags attached.
Issue History
14-09-2015 17:16Philip MakedonskiNew Issue
14-09-2015 17:16Philip MakedonskiStatusnew => assigned
14-09-2015 17:16Philip MakedonskiAssigned To => Philip Makedonski
14-09-2015 17:29Philip MakedonskiSummaryStaticDataUse constraint needs to be moved to DataInstanceUse => StaticDataUse constraint needs to be revised and moved to DataInstanceUse
14-09-2015 17:29Philip MakedonskiDescription Updatedbug_revision_view_page.php?rev_id=165#r165
14-12-2015 17:16Philip MakedonskiNote Added: 0013628
14-12-2015 17:16Philip MakedonskiStatusassigned => resolved
14-12-2015 17:16Philip MakedonskiFixed in Version => [TDL] Part-1 V1.3.1
14-12-2015 17:16Philip MakedonskiResolutionopen => fixed
01-02-2016 15:44Philip MakedonskiNote Added: 0013796
01-02-2016 15:44Philip MakedonskiStatusresolved => feedback
01-02-2016 15:44Philip MakedonskiResolutionfixed => reopened
15-02-2016 12:31Philip MakedonskiNote Added: 0013827
15-02-2016 12:31Philip MakedonskiStatusfeedback => assigned
15-02-2016 12:31Philip MakedonskiStatusassigned => resolved
15-02-2016 12:31Philip MakedonskiResolutionreopened => fixed

Notes
(0013628)
Philip Makedonski   
14-12-2015 17:16   
Constraint moved to DataInstanceUse and text refined as proposed.
(0013796)
Philip Makedonski   
01-02-2016 15:44   
There are further issues with this constraint. As it is, it also prevents the use of DynamicDataUse even if the StructuredDataInstance is used e.g. in an Interaction, which is a valid case where a user may need to use a FunctionCall or a VariableUse in a ParameterBinding for a StructuredDataInstance. The current constraint prevents that.

A proposal is to move the constraint to the MemberAssignment meta-class and phrase it differently so that it precludes the use of DynamicDataUse in that context which is the original intention of the constraint.
(0013827)
Philip Makedonski   
15-02-2016 12:31   
Constraint moved to MemberAssignment and updated to:

Static data use in structured data
If the 'memberSpec' refers to a 'StructuredDataInstance', all of its 'ParameterBinding's shall refer to 'StaticDataUse'.