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

ID | Project | Category | View Status | Date Submitted | Last Update
0004437 | Part 01: TTCN-3 Core Language | New Feature | public | 11-11-2008 14:16 | 10-12-2008 09:22

Reporter | Gyorgy Rethy |
Assigned To | Ina Schieferdecker |
Priority | normal | Severity | minor | Reproducibility | always
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version | v3.3.2 (published 2008-04) |
Target Version | v4.1.1 (published 2009-06) | Fixed in Version | v4.1.1 (published 2009-06) |
Clause Reference(s) | B.1.3.3
Source (company - Author) | L.M.Ericsson

Summary | 0004437: Allow template references in permutation

Description

The problem has been raised by STF160: in some cases a record of record structure has to be checked, namely it has to be verified if one instance of the record is present in the list; moreover, the position of the record containing the field-to-be-checked is not known and not all fields of the given record has to be checked or even known. In another words, it has to be checked, if any elements of a record of record value is matching a record template or not.
However, TTCN-3 today does not allow referencing templates within permutation; only expressions, ? and * are allowed. Thus, this is not allowed:
{permutation(cr_MyRecordTemplate,*)}
Proposed to allow referencing templates within permutation (see attached file).

Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files | CR - template refernce in permutation.doc (180,736) 11-11-2008 14:16 http://oldforge.etsi.org/mantis/file_download.php?file_id=1740&type=bug CR - template refernce in permutation_02.doc (175,104) 25-11-2008 08:31 http://oldforge.etsi.org/mantis/file_download.php?file_id=1765&type=bug

Issue History
Date Modified | Username | Field | Change
11-11-2008 14:16 | Gyorgy Rethy | New Issue |
11-11-2008 14:16 | Gyorgy Rethy | Status | new => assigned
11-11-2008 14:16 | Gyorgy Rethy | Assigned To | => Ina Schieferdecker
11-11-2008 14:16 | Gyorgy Rethy | File Added: CR - template refernce in permutation.doc |
11-11-2008 14:16 | Gyorgy Rethy | Clause Reference(s) | => B.1.3.3
11-11-2008 14:16 | Gyorgy Rethy | Source (company - Author) | => L.M.Ericsson
24-11-2008 17:00 | Ina Schieferdecker | Assigned To | Ina Schieferdecker => Thomas DeiÃŸ
25-11-2008 08:31 | Thomas DeiÃŸ | File Added: CR - template refernce in permutation_02.doc |
25-11-2008 08:33 | Thomas DeiÃŸ | Note Added: 0007396 |
25-11-2008 08:33 | Thomas DeiÃŸ | Assigned To | Thomas DeiÃŸ => Gyorgy Rethy
25-11-2008 16:38 | Gyorgy Rethy | Note Added: 0007423 |
25-11-2008 16:39 | Gyorgy Rethy | Assigned To | Gyorgy Rethy => Ina Schieferdecker
25-11-2008 16:39 | Gyorgy Rethy | Status | assigned => resolved
25-11-2008 16:39 | Gyorgy Rethy | Resolution | open => fixed
10-12-2008 09:22 | Ina Schieferdecker | Status | resolved => closed
10-12-2008 09:22 | Ina Schieferdecker | Fixed in Version | => Edition 4.1.1 (not yet published)
10-12-2008 09:22 | Ina Schieferdecker | Target Version | => Edition 4.1.1 (not yet published)

Notes

(0007396)
Thomas DeiÃŸ
25-11-2008 08:33

changes in 1st paragraph clarify the semantics. changes in 2nd paragraph are editorial. This is for cross checking. uploaded v02.

(0007423)
Gyorgy Rethy
25-11-2008 16:38

OK with me.