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

ID | Project | Category | View Status | Date Submitted | Last Update
0005105 | Part 01: TTCN-3 Core Language | Clarification | public | 21-04-2009 18:38 | 01-07-2009 16:43

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 |  |
Target Version | v4.2.1 (published 2010-07) | Fixed in Version | v4.2.1 (published 2010-07) |
Clause Reference(s) | Annex A
Source (company - Author) |

Summary | 0005105: Identify expected template content in formal parameters of predefined functions

Description

There are predefined functions that allow template parameters but restrict the content of the actual template pased in (e.g. encvalue). In these cases the template restrictions should be also identified in the signature of the predefined function, e.g.
encvalue (in template any_type inpar) return bitstring
should be changed to
encvalue (in template(value) any_type inpar) return bitstring
this would give at least two advantages: the restriction of the parameter's content is more visible; the error message on passing a template containing matching will be about wrong parameter content and not about ... <what?, today the error may also be raised by the codec>

Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files | CR5105_resolution.doc (304,128) 30-06-2009 15:32 http://oldforge.etsi.org/mantis/file_download.php?file_id=2144&type=bug

Issue History
Date Modified | Username | Field | Change
21-04-2009 18:38 | Gyorgy Rethy | New Issue |
21-04-2009 18:38 | Gyorgy Rethy | Status | new => assigned
21-04-2009 18:38 | Gyorgy Rethy | Assigned To | => Ina Schieferdecker
21-04-2009 18:38 | Gyorgy Rethy | Clause Reference(s) | => Annex A
21-04-2009 18:38 | Gyorgy Rethy | Source (company - Author) | =>
23-04-2009 15:38 | Ina Schieferdecker | Assigned To | Ina Schieferdecker => Gyorgy Rethy
30-06-2009 10:29 | Ina Schieferdecker | Target Version | => Edition 4.2.1 (not yet published)
30-06-2009 15:32 | Gyorgy Rethy | File Added: CR5105_resolution.doc |
30-06-2009 15:35 | Gyorgy Rethy | Note Added: 0008799 |
30-06-2009 15:35 | Gyorgy Rethy | Assigned To | Gyorgy Rethy => Ina Schieferdecker
30-06-2009 15:36 | Gyorgy Rethy | Note Edited: 0008799 |
01-07-2009 16:42 | Ina Schieferdecker | Note Added: 0008814 |
01-07-2009 16:43 | Ina Schieferdecker | Resolution | open => fixed
01-07-2009 16:43 | Ina Schieferdecker | Status | assigned => resolved
01-07-2009 16:43 | Ina Schieferdecker | Status | resolved => closed
01-07-2009 16:43 | Ina Schieferdecker | Fixed in Version | => Edition 4.2.1 (not yet published)

Notes

(0008799)
Gyorgy Rethy
30-06-2009 15:35 (edited on: 30-06-2009 15:36)

All predefined functions are checked, parameter direction and template restrictions are added where applicable. This shall be done consistently in signatures of predefined functions added in the future. CR is ready for checking.

(0008814)
Ina Schieferdecker
01-07-2009 16:42

as proposed