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

ID | Project | Category | View Status | Date Submitted | Last Update
0007865 | Part 01: TTCN-3 Core Language | Editorial | public | 26-08-2019 14:53 | 28-12-2019 17:12

Reporter | KristÃ³f Szabados |
Assigned To | Gyorgy Rethy |
Priority | normal | Severity | minor | Reproducibility | have not tried
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version |  | Fixed in Version | 4.12.1 (published 2020-05) |
Clause Reference(s) | 15.6.5
Source (company - Author) | TestCom ou

Summary | 0007865: the text for union alternatives can be easily missunderstood to support omit being assigned to alternatives

Description

in section 15.6.5 "Referencing union alternatives" the description can easily be read as if assigning omit to a template union alternative would be supported.
Somewhat like this: referencing an alternative of a union (template or template field) to which Omit, AnyValueOrNone, a template list or a complemented list is assigned, at the right hand side of an assignment, shall cause an error.
// I inserted () to emphasize to part in question.
We should add one example that clearly shows that this is not the case (especially as unions have alternatives not fields)

Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files | CR_7865.docx (160,625) 27-08-2019 10:31 http://oldforge.etsi.org/mantis/file_download.php?file_id=3858&type=bug CR7865-2.docx (181,714) 28-08-2019 08:26 http://oldforge.etsi.org/mantis/file_download.php?file_id=3861&type=bug

Issue History
Date Modified | Username | Field | Change
26-08-2019 14:53 | KristÃ³f Szabados | New Issue |
26-08-2019 14:55 | KristÃ³f Szabados | Note Added: 0015459 |
27-08-2019 09:03 | KristÃ³f Szabados | Assigned To | => KristÃ³f Szabados
27-08-2019 09:03 | KristÃ³f Szabados | Status | new => assigned
27-08-2019 10:31 | KristÃ³f Szabados | File Added: CR_7865.docx |
27-08-2019 12:27 | KristÃ³f Szabados | Note Added: 0015472 |
27-08-2019 12:27 | KristÃ³f Szabados | Assigned To | KristÃ³f Szabados => Tomas Urban
27-08-2019 12:27 | KristÃ³f Szabados | Status | assigned => confirmed
28-08-2019 08:26 | Tomas Urban | File Added: CR7865-2.docx |
28-08-2019 08:29 | Tomas Urban | Note Added: 0015481 |
28-08-2019 08:29 | Tomas Urban | Status | confirmed => resolved
28-08-2019 08:29 | Tomas Urban | Resolution | open => fixed
28-08-2019 13:54 | Tomas Urban | Status | resolved => feedback
28-08-2019 13:54 | Tomas Urban | Resolution | fixed => reopened
28-08-2019 13:55 | Tomas Urban | Assigned To | Tomas Urban => Gyorgy Rethy
28-08-2019 13:55 | Tomas Urban | Status | feedback => resolved
28-08-2019 13:55 | Tomas Urban | Resolution | reopened => fixed
28-12-2019 17:12 | Gyorgy Rethy | Note Added: 0015599 |
28-12-2019 17:12 | Gyorgy Rethy | Status | resolved => closed
28-12-2019 17:12 | Gyorgy Rethy | Fixed in Version | => 4.12.1 (published 2020-05)

Notes

(0015459)
KristÃ³f Szabados
26-08-2019 14:55

also the omit in example a in "v_t1.g2 := omit; " should be bold.

(0015472)
KristÃ³f Szabados
27-08-2019 12:27

please check

(0015481)
Tomas Urban
28-08-2019 08:29

The resolution is correct, I only made some cosmetic changes. It can be added to the next version of the core language standard.

(0015599)
Gyorgy Rethy
28-12-2019 17:12

Included to final draft V4.11.2