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

ID | Project | Category | View Status | Date Submitted | Last Update
0006154 | Part 01: TTCN-3 Core Language | New Feature | public | 29-06-2012 09:03 | 12-07-2012 13:24

Reporter | Axel Rennoch |
Assigned To | Tomas Urban |
Priority | normal | Severity | minor | Reproducibility | always
Status | closed | Resolution | won't fix |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version | v4.5.1 (published 2013-04) | Fixed in Version |  |
Clause Reference(s) | Part 15.3
Source (company - Author) | Axel Rennoch (FOKUS)

Summary | 0006154: "set/record of" types for local template parameters
Description | The declaration of templates should accept definitions of formal parameters of types constructed with "set of" and "record of", e.g.: template Charging_Rule_Install_AVP m_chrgRuleInstall_Definition (set of Charging_Rule_Definition_AVP p_charging_Rule_Definition) := {charging_Rule_Definition := p_charging_Rule_Definition}
Steps To Reproduce |
Additional Information | Many DIAMETER message fields have been defined as "set of" types. The proposed change avoids definitions of auxillary types.
Tags | No tags attached.
Relationships |
Attached Files |

Issue History
Date Modified | Username | Field | Change
29-06-2012 09:03 | Axel Rennoch | New Issue |
29-06-2012 09:03 | Axel Rennoch | Clause Reference(s) | => Part 15.3
29-06-2012 09:03 | Axel Rennoch | Source (company - Author) | => Axel Rennoch (FOKUS)
09-07-2012 16:57 | Ina Schieferdecker | Project | TTCN-3 Change Requests => Part 01: TTCN-3 Core Language
10-07-2012 10:53 | Gyorgy Rethy | Note Added: 0010739 |
10-07-2012 10:53 | Gyorgy Rethy | Assigned To | => Tomas Urban
10-07-2012 10:53 | Gyorgy Rethy | Status | new => assigned
10-07-2012 10:53 | Gyorgy Rethy | Target Version | => Edition 4.5.1
11-07-2012 16:06 | Tomas Urban | Note Added: 0010840 |
12-07-2012 10:11 | Tomas Urban | Status | assigned => feedback
12-07-2012 12:41 | Axel Rennoch | Note Added: 0010883 |
12-07-2012 13:24 | Tomas Urban | Status | feedback => closed
12-07-2012 13:24 | Tomas Urban | Resolution | open => won't fix

Notes

(0010739)
Gyorgy Rethy
10-07-2012 10:53

STF discussion 2012-07-10: actually the type of the parameter could be the type of charging_Rule_Definition by dot notation; inform the submiter about it and ask if this is OK to close the CR without addition to the standard.

(0010840)
Tomas Urban
11-07-2012 16:06

This kind of template can be defined using the syntactical rules from the current standard. The tricky part is that it is necessary to use an extended type reference:
template Charging_Rule_Install_AVP m_chrgRuleInstall_Definition
(Charging_Rule_Install_AVP.charging_Rule_Definition p_charging_Rule_Definition) :=
{charging_Rule_Definition := p_charging_Rule_Definition}
Could you please inform us if this kind of solution is satisfactory so that we can close the CR?

(0010883)
Axel Rennoch
12-07-2012 12:41

Good idea, ok for me. Thanks.