ETSI's Bug Tracker - Part 01: TTCN-3 Core Language
View Issue Details

ID | Project | Category | View Status | Date Submitted | Last Update
0006428 | Part 01: TTCN-3 Core Language | Clarification | public | 26-02-2013 13:36 | 30-08-2013 09:54

Reporter | Tomas Urban |
Assigned To | Ina Schieferdecker |
Priority | normal | Severity | minor | Reproducibility | have not tried
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version | v4.6.1 (published 2014-06) | Fixed in Version | v4.6.1 (published 2014-06) |
Clause Reference(s) | 21.1.1 and 9.1
Source (company - Author) | Elvior

Summary | 0006428: Connecting already connected ports

Description

The current specification doesn't provide an explicit guidelines on what happens in case when the ports referenced in the connect operation are already connected.
The TTCN-3 core language specification contains a rule (in the section 9.1) saying that "A port owned by a component A shall not be connected with two or more ports owned by a component B". When connecting existing ports, this rule is not breached. However, I assume that creating a second connection between these ports wouldn't be very suitable, so there are two interpretations what might happen:
1. An error shall occur, because of attempting to create a duplicate connection
2. The connection operation shall simply return without creating a connection (but notifying TRI)
In both cases, the TTCN-3 specification should be amended, adding precise rules for this situation so that there's no space for different interpretations.
The map operations suffers from the similar problem as well.

Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files | CR6428_resolution_v1.doc (70,656) 29-08-2013 10:39 http://oldforge.etsi.org/mantis/file_download.php?file_id=2874&type=bug CR6428_resolution_v2.doc (70,656) 29-08-2013 17:09 http://oldforge.etsi.org/mantis/file_download.php?file_id=2875&type=bug

Issue History
Date Modified | Username | Field | Change
26-02-2013 13:36 | Tomas Urban | New Issue |
26-02-2013 13:36 | Tomas Urban | Clause Reference(s) | => 21.1.1 and 9.1
26-02-2013 13:36 | Tomas Urban | Source (company - Author) | => Elvior
08-07-2013 15:33 | Jens Grabowski | Status | new => assigned
08-07-2013 15:33 | Jens Grabowski | Assigned To | => Jens Grabowski
08-07-2013 18:09 | Gyorgy Rethy | Project | TTCN-3 Change Requests => Part 01: TTCN-3 Core Language
08-07-2013 18:13 | Gyorgy Rethy | Target Version | => v4.6.1 (published 2014-06)
29-08-2013 09:47 | Jens Grabowski | Note Added: 0011631 |
29-08-2013 10:39 | Jens Grabowski | File Added: CR6428_resolution_v1.doc |
29-08-2013 10:40 | Jens Grabowski | Note Added: 0011634 |
29-08-2013 10:41 | Jens Grabowski | Assigned To | Jens Grabowski => Ina Schieferdecker
29-08-2013 10:41 | Jens Grabowski | Status | assigned => confirmed
29-08-2013 11:41 | Ina Schieferdecker | Note Added: 0011636 |
29-08-2013 11:42 | Ina Schieferdecker | Note Edited: 0011636 |
29-08-2013 12:04 | Ina Schieferdecker | Note Added: 0011637 |
29-08-2013 17:09 | Ina Schieferdecker | File Added: CR6428_resolution_v2.doc |
29-08-2013 17:09 | Ina Schieferdecker | Note Added: 0011644 |
29-08-2013 17:09 | Ina Schieferdecker | Assigned To | Ina Schieferdecker => Jens Grabowski
29-08-2013 17:09 | Ina Schieferdecker | Resolution | open => fixed
29-08-2013 17:09 | Ina Schieferdecker | Fixed in Version | => v4.6.1 (published 2014-06)
29-08-2013 17:21 | Jens Grabowski | Note Added: 0011646 |
29-08-2013 17:21 | Jens Grabowski | Assigned To | Jens Grabowski => Ina Schieferdecker
30-08-2013 09:54 | Ina Schieferdecker | Status | confirmed => resolved
30-08-2013 09:54 | Ina Schieferdecker | Status | resolved => closed

Notes

(0011631)
Jens Grabowski
29-08-2013 09:47

This case is handled in Annex "F.3.1 Configuration Operations". Connecting/Mapping already connected/mapped ports is defined as NULL operation. An appropriate remark will be added to the map and connect operations.

(0011634)
Jens Grabowski
29-08-2013 10:40

Resolution agreed with GyÃ¶rgy, assigned to Ina for implementation.

(0011636)
Ina Schieferdecker
29-08-2013 11:41 (edited on: 29-08-2013 11:42)

This CR requires discussion: if for an already existing mapped/connected port connection, the triMap/tciConnect are invoked, the test behavior might be different due to changes in the adapter/connection if or if not the map/connect operation is invoked a second time.
We have to discuss, if a repeated map/connect operation is really opaque (i.e. the null operation) or if TRI/TCI are involved respectively.

(0011637)
Ina Schieferdecker
29-08-2013 12:04

Discussion in STF: tripMap and tciConnect should not (!) be invoked in these cases, so that a repeated map/connect is a null operation.

(0011644)
Ina Schieferdecker
29-08-2013 17:09

Please check

(0011646)
Jens Grabowski
29-08-2013 17:21

Note is ok.