Logo etsi

ETSI's Bug Tracker

Notice: information submitted on the ETSI issue Tracker may be incorporated in ETSI publication(s) and therefore subject to the ETSI IPR policy.

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007168Part 01: TTCN-3 Core LanguageEditorialpublic07-09-2015 13:2609-12-2015 16:39
ReporterTomas Urban 
Assigned ToGyorgy Rethy 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product Versionv4.7.1 (published 2015-06) 
Target Versionv4.8.1 (published 2016-07)Fixed in Versionv4.8.1 (published 2016-07) 
Summary0007168: Invalid description of redirect assignment of message fields in receive operation
DescriptionThe section 22.2.2 states that: "In a single assignment within the list, on the left hand side of the assignment symbol (":=") a field of the template type shall be referenced, on the right hand side the name of the variable or a formal parameter, in which the value shall be stored."

However, this is clearly wrong. The (source) template field shall be on the right and the (target) variable on the left hand side of the assignment symbol. Both syntactical description and examples use that order. Besides, it is the common way how to write assignments. It would be very weird if redirect assignments behaved differently.

Proposal: Change the rule to:
In a single assignment within the list, on the right hand side of the assignment symbol (":=") a field of the template type shall be referenced, on the left hand side the name of the variable or a formal parameter, in which the value shall be stored.
Tagstechnically agreed
Clause Reference(s)22.2.2
Source (company - Author)STF 487
Attached Files

- Relationships
duplicate of 0007090closedGyorgy Rethy description and example for field value redirect are wrong 

-  Notes
(0013192)
Tomas Urban (reporter)
07-09-2015 13:35

The following rule shall be also changed to:
"The variable or formal parameter shall be type compatible with the type of the field on the right hand side of the assignment symbol."
(0013194)
Jacob Wieland - Spirent (reporter)
07-09-2015 18:06

already solved in CR 7090
(0013233)
Gyorgy Rethy (reporter)
22-09-2015 09:41

STF discussion: comment is correct, may be solved by CR 7090 already. Check it and correct if still needed.
(0013576)
Gyorgy Rethy (reporter)
09-12-2015 16:39

Added to draft V4.7.4

- Issue History
Date Modified Username Field Change
07-09-2015 13:26 Tomas Urban New Issue
07-09-2015 13:35 Tomas Urban Note Added: 0013192
07-09-2015 18:06 Jacob Wieland - Spirent Note Added: 0013194
07-09-2015 18:06 Jacob Wieland - Spirent Relationship added duplicate of 0007090
21-09-2015 10:24 Gyorgy Rethy Target Version => v4.8.1 (published 2016-07)
22-09-2015 09:40 Gyorgy Rethy Tag Attached: technically agreed
22-09-2015 09:41 Gyorgy Rethy Note Added: 0013233
22-09-2015 09:41 Gyorgy Rethy Assigned To => Gyorgy Rethy
22-09-2015 09:41 Gyorgy Rethy Status new => assigned
15-10-2015 13:15 Jacob Wieland - Spirent Status assigned => resolved
15-10-2015 13:15 Jacob Wieland - Spirent Resolution open => duplicate
04-11-2015 14:03 Gyorgy Rethy Fixed in Version => v4.8.1 (published 2016-07)
09-12-2015 16:39 Gyorgy Rethy Note Added: 0013576
09-12-2015 16:39 Gyorgy Rethy Status resolved => closed


MantisBT 1.2.14 [^]
Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker