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

ID | Project | Category | View Status | Date Submitted | Last Update
0006242 | Part 01: TTCN-3 Core Language | Clarification | public | 01-08-2012 10:38 | 21-12-2012 11:54

Reporter | Gyorgy Rethy |
Assigned To | Ina Schieferdecker |
Priority | normal | Severity | minor | Reproducibility | have not tried
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version | v4.4.1 (published 2012-04) |
Target Version | v4.5.1 (published 2013-04) | Fixed in Version | v4.5.1 (published 2013-04) |
Clause Reference(s) | 6.2.3
Source (company - Author) | L.M.Ericsson

Summary | 0006242: Example on assignment notation would be helpful

Description

The result of the following example is not always clear to the users:
var record_of_integer ix := { 0,1,2 }
ix := { [3] := 2*ix[2]+1 }
log(ix);// assignment notation with one element changed: { 0, 1, 2, 5 }
The result is often mixed up with the following case:
var record_of_integer ix := { 0,1,2 }
ix[3] := 2*ix[2]+1
log(ix); // the same in index noation { 0, 1, 2, 5 }
A detailed, complate and precise description is missing for the 3 value notation forms both all structured types (incl. record, set, recof, setof, union)

Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files | CR6242_resolution_v2.doc (215,040) 14-12-2012 14:52 http://oldforge.etsi.org/mantis/file_download.php?file_id=2787&type=bug CR6242_resolution_v3.doc (175,104) 20-12-2012 12:05 http://oldforge.etsi.org/mantis/file_download.php?file_id=2790&type=bug CR6242_resolution_v4.doc (175,616) 21-12-2012 11:52 http://oldforge.etsi.org/mantis/file_download.php?file_id=2796&type=bug

Issue History
Date Modified | Username | Field | Change
01-08-2012 10:38 | Gyorgy Rethy | New Issue |
01-08-2012 10:38 | Gyorgy Rethy | Clause Reference(s) | => 6.2.3
01-08-2012 10:38 | Gyorgy Rethy | Source (company - Author) | => L.M.Ericsson
01-08-2012 13:31 | Gyorgy Rethy | Description Updated |
06-08-2012 08:56 | Gyorgy Rethy | Description Updated |
06-08-2012 08:57 | Gyorgy Rethy | File Added: CR6242_resolution_v1.doc |
08-08-2012 10:55 | Gyorgy Rethy | Status | new => assigned
08-08-2012 10:55 | Gyorgy Rethy | Assigned To | => Jens Grabowski
08-08-2012 11:16 | Gyorgy Rethy | Assigned To | Jens Grabowski => Gyorgy Rethy
08-08-2012 11:23 | Gyorgy Rethy | Note Added: 0010995 |
15-08-2012 16:12 | Gyorgy Rethy | Note Added: 0011042 |
10-12-2012 16:56 | Gyorgy Rethy | Target Version | => Edition 4.5.1
13-12-2012 08:16 | Gyorgy Rethy | Note View State: 11042: private |
13-12-2012 08:17 | Gyorgy Rethy | Note View State: 11042: public |
13-12-2012 08:18 | Gyorgy Rethy | Note View State: 11042: private |
13-12-2012 08:18 | Gyorgy Rethy | Note View State: 11042: public |
13-12-2012 08:25 | Gyorgy Rethy | Note Edited: 0011042 |
13-12-2012 08:32 | Gyorgy Rethy | Note Edited: 0011042 |
13-12-2012 08:33 | Gyorgy Rethy | File Added: RE modified templates modification of a list.txt.txt |
14-12-2012 14:46 | Gyorgy Rethy | File Deleted: CR6242_resolution_v1.doc |
14-12-2012 14:47 | Gyorgy Rethy | Note Deleted: 0011042 |
14-12-2012 14:47 | Gyorgy Rethy | File Deleted: RE modified templates modification of a list.txt.txt |
14-12-2012 14:51 | Gyorgy Rethy | Note Added: 0011283 |
14-12-2012 14:51 | Gyorgy Rethy | Description Updated |
14-12-2012 14:52 | Gyorgy Rethy | File Added: CR6242_resolution_v2.doc |
14-12-2012 14:52 | Gyorgy Rethy | Note Edited: 0011283 |
14-12-2012 14:53 | Gyorgy Rethy | Assigned To | Gyorgy Rethy => Jens Grabowski
20-12-2012 12:05 | Jens Grabowski | File Added: CR6242_resolution_v3.doc |
20-12-2012 12:05 | Jens Grabowski | Note Added: 0011297 |
20-12-2012 12:06 | Jens Grabowski | Assigned To | Jens Grabowski => Ina Schieferdecker
21-12-2012 11:52 | Ina Schieferdecker | File Added: CR6242_resolution_v4.doc |
21-12-2012 11:53 | Ina Schieferdecker | Note Added: 0011309 |
21-12-2012 11:53 | Ina Schieferdecker | Status | assigned => resolved
21-12-2012 11:53 | Ina Schieferdecker | Resolution | open => fixed
21-12-2012 11:53 | Ina Schieferdecker | Fixed in Version | => Edition 4.5.1
21-12-2012 11:54 | Ina Schieferdecker | Status | resolved => closed

Notes

(0010995)
Gyorgy Rethy
08-08-2012 11:23

STF discussion 2012-08-08: Just an example is not sufficient, the text should be explicit about the case raised by the CR. Also add text for records and sets.

(0011283)
Gyorgy Rethy
14-12-2012 14:51 (edited on: 14-12-2012 14:52)

see proposed solution in CR6242_resolution_v2.doc. This version is for review.

(0011297)
Jens Grabowski
20-12-2012 12:05

Resolution ok for me, I only made minor changes w.r.t. numbering of Examples. Assigned to Ina for implementation.

(0011309)
Ina Schieferdecker
21-12-2012 11:53

Implemented as in v4 with small editorials