ETSI's Bug Tracker - Part-1 Metamodel
View Issue Details
0007423Part-1 Metamodel[TDL] Technicalpublic09-03-2016 13:5909-05-2016 15:40
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 
0007423: Comments and Annotations shall be ordered
Currently, comments and annotations attached to elements are not ordered. For various representations (textual, tabular) these shall be ordered to ensure consistent representation. Change the modifiers in the meta-model accordingly.
No tags attached.
pdf MultiCommentShape.pdf (20,376) 09-03-2016 14:39
http://oldforge.etsi.org/mantis/file_download.php?file_id=3404&type=bug
Issue History
09-03-2016 13:59Philip MakedonskiNew Issue
09-03-2016 13:59Philip MakedonskiStatusnew => assigned
09-03-2016 13:59Philip MakedonskiAssigned To => Philip Makedonski
09-03-2016 14:00Philip MakedonskiNote Added: 0013882
09-03-2016 14:00Philip MakedonskiStatusassigned => resolved
09-03-2016 14:00Philip MakedonskiFixed in Version => [TDL] Part-1 V1.3.1
09-03-2016 14:00Philip MakedonskiResolutionopen => fixed
09-03-2016 14:18Gusztáv AdamisNote Added: 0013884
09-03-2016 14:18Gusztáv AdamisStatusresolved => feedback
09-03-2016 14:18Gusztáv AdamisResolutionfixed => reopened
09-03-2016 14:30Philip MakedonskiNote Added: 0013885
09-03-2016 14:30Philip MakedonskiStatusfeedback => assigned
09-03-2016 14:38Philip MakedonskiNote Added: 0013886
09-03-2016 14:39Philip MakedonskiFile Added: MultiCommentShape.pdf
09-03-2016 14:39Philip MakedonskiNote Added: 0013887
09-05-2016 15:40Philip MakedonskiNote Added: 0013957
09-05-2016 15:40Philip MakedonskiStatusassigned => resolved
09-05-2016 15:40Philip MakedonskiResolutionreopened => fixed

Notes
(0013882)
Philip Makedonski   
09-03-2016 14:00   
As proposed.
(0013884)
Gusztáv Adamis   
09-03-2016 14:18   
Questions: what can be a use case in which the order of the comments are relevant?
As the proposal says, in some notations it may be important but in some other notation (like GR) it can be hard to solve.
Is this ordering REALLY required?
(0013885)
Philip Makedonski   
09-03-2016 14:30   
The ordering is a property of the meta-model element. A notation may or may not make use of this property. A graphical notation may display comments as bubbles without being able to modify their order (which can still be modified in e.g. associated tree editor or using property view).

If the ordering is not provided by the meta-model then textual, tabular, or tree-based notations have no means of ensuring that the elements are stored and presented in a particular order so two related comments that are represented on two lines (or even in separate strings on the same line) in a textual notation may appear out of order the next time the document is opened.

If it is required to be solved in a graphical notation, then an alternative representation can be proposed where all comments are grouped in the same bubble with one compartment per comment (which will be a more concise representation), e.g.:

--------------
| Comments |
--------------
| comment1 |
--------------___
| comment2 | \
-------------- \
| ... | \
-------------- -------- #ELEMENT
(0013886)
Philip Makedonski   
09-03-2016 14:38   
OK my picture got damaged for some reason, see attachment.
(0013887)
Philip Makedonski   
09-03-2016 14:39   
Same applies to Annotations
(0013957)
Philip Makedonski   
09-05-2016 15:40   
Implemented as proposed