ETSI's Bug Tracker - Part 01: TTCN-3 Core Language
View Issue Details
0007147Part 01: TTCN-3 Core LanguageTechnicalpublic18-08-2015 12:1114-12-2015 11:41
Tomas Urban 
Gyorgy Rethy 
normalminorhave not tried
closedfixed 
v4.7.1 (published 2015-06) 
v4.8.1 (published 2016-07)v4.8.1 (published 2016-07) 
20.2
STF 487
0007147: Operation with side effects in alt statemets
The restrictions b, c and d of the section 20.2 disallow the use of certain operations in alt guards, alt branch events and parameters of altstep instances in alt branches. The forbidden operations are a subset of calls listed in 16.1.4. In particular, only the operations that can be used in expressions are listed.

However, the list (composed of create, running, alive and activate) is not complete. There are several other operations with side effect that might syntactically appear in expressions: read, checkstate, rnd, non-deterministic external function invocation (the last two are not covered by 16.1.4, because that section states only that they shall not appear INSIDE of functions called from the special places, but nothing about direct invocation).

Proposal: add the missing operations to the restrictions b, c and d.
technically agreed
related to 0007146closed Gyorgy Rethy Operations missing in the list of forbidden port operations 
docx CR7147_resolution_v1.docx (84,450) 24-09-2015 12:38
http://oldforge.etsi.org/mantis/file_download.php?file_id=3280&type=bug
docx CR7147_resolution_v2.docx (84,752) 24-09-2015 16:04
http://oldforge.etsi.org/mantis/file_download.php?file_id=3284&type=bug
docx CR7147_resolution_v3.docx (85,080) 03-11-2015 11:15
http://oldforge.etsi.org/mantis/file_download.php?file_id=3348&type=bug
Issue History
18-08-2015 12:11Tomas UrbanNew Issue
21-09-2015 10:27Gyorgy RethyTarget Version => v4.8.1 (published 2016-07)
21-09-2015 16:16Gyorgy RethyTag Attached: technically agreed
21-09-2015 16:17Gyorgy RethyRelationship addedrelated to 0007146
21-09-2015 16:17Gyorgy RethyNote Added: 0013225
23-09-2015 15:48Axel RennochAssigned To => Axel Rennoch
23-09-2015 15:48Axel RennochStatusnew => assigned
24-09-2015 12:38Axel RennochFile Added: CR7147_resolution_v1.docx
24-09-2015 12:41Axel RennochNote Added: 0013288
24-09-2015 12:41Axel RennochAssigned ToAxel Rennoch => Jacob Wieland - Spirent
24-09-2015 12:41Axel RennochStatusassigned => acknowledged
24-09-2015 14:11Jacob Wieland - SpirentNote Added: 0013291
24-09-2015 14:11Jacob Wieland - SpirentAssigned ToJacob Wieland - Spirent => Axel Rennoch
24-09-2015 14:11Jacob Wieland - SpirentStatusacknowledged => assigned
24-09-2015 16:04Jacob Wieland - SpirentFile Added: CR7147_resolution_v2.docx
24-09-2015 16:04Jacob Wieland - SpirentNote Added: 0013296
24-09-2015 16:04Jacob Wieland - SpirentAssigned ToAxel Rennoch => Gyorgy Rethy
24-09-2015 16:04Jacob Wieland - SpirentStatusassigned => confirmed
03-11-2015 11:15Gyorgy RethyFile Added: CR7147_resolution_v3.docx
03-11-2015 11:16Gyorgy RethyNote Added: 0013462
03-11-2015 11:16Gyorgy RethyStatusconfirmed => resolved
03-11-2015 11:16Gyorgy RethyFixed in Version => v4.8.1 (published 2016-07)
03-11-2015 11:16Gyorgy RethyResolutionopen => fixed
14-12-2015 11:41Gyorgy RethyNote Added: 0013613
14-12-2015 11:41Gyorgy RethyStatusresolved => closed

Notes
(0013225)
Gyorgy Rethy   
21-09-2015 16:17   
STF discussion: check in detail.
(0013288)
Axel Rennoch   
24-09-2015 12:41   
Do you see further approaches to address forbidden operations?
(0013291)
Jacob Wieland - Spirent   
24-09-2015 14:11   
I would formulate that the restriction applied to the contents of functions called from special places shall also be applied both to the boolean guard and all other expressions occurring in the match part of an alternative.
(0013296)
Jacob Wieland - Spirent   
24-09-2015 16:04   
proposal ok for me, please review and resolve
(0013462)
Gyorgy Rethy   
03-11-2015 11:16   
CR7147_resolution_v3.docx: editorial changes to make text more readable and avoid too many use of apply-applied.
(0013613)
Gyorgy Rethy   
14-12-2015 11:41   
Added to draft V4.7.4