ETSI's Bug Tracker - Part 06: TTCN-3 Control Interface
View Issue Details

ID | Project | Category | View Status | Date Submitted | Last Update
0005957 | Part 06: TTCN-3 Control Interface | Technical | public | 02-11-2011 07:36 | 02-12-2011 12:54

Reporter | Mateusz Pusz |
Assigned To | Ina Schieferdecker |
Priority | normal | Severity | major | Reproducibility | N/A
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version | v4.4.1 (published 2012-04) | Fixed in Version | v4.4.1 (published 2012-04) |
Clause Reference(s) | TCI 10.5.3.1
Source (company - Author) | Mateusz Pusz/freettcn

Summary | 0005957: Wrong TciType::newInstance() C++ mapping

Description

TciType::newInstance() is a non-const method which makes it impossible to use in all the places where TciType is passed as cons pointer or reference. Some of such places are:
- TciValue::getType()
- RecordOfValue::getElementType()
- tciCreateTestComponent()
- getTypeForName(), getInteger(), getFloat()...
In all those cases it is impossible to crate an instance of a type without the need to clone whole type for each operation. It is not a good approach in terms of performance and coding standards.
Please make TciType::newInstance() a const method.

Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files | CR5957.doc (74,240) 01-12-2011 15:27 http://oldforge.etsi.org/mantis/file_download.php?file_id=2647&type=bug

Issue History
Date Modified | Username | Field | Change
02-11-2011 07:36 | Mateusz Pusz | New Issue |
02-11-2011 07:36 | Mateusz Pusz | Clause Reference(s) | => TCI 10.5.3.1
02-11-2011 07:36 | Mateusz Pusz | Source (company - Author) | => Mateusz Pusz/freettcn
28-11-2011 12:47 | Gyorgy Rethy | Project | TTCN-3 Change Requests => Part 06: TTCN-3 Control Interface
28-11-2011 15:45 | Gyorgy Rethy | Assigned To | => Ina Schieferdecker
28-11-2011 15:45 | Gyorgy Rethy | Status | new => assigned
28-11-2011 15:45 | Gyorgy Rethy | Target Version | => Edition 4.4.1
28-11-2011 15:47 | Gyorgy Rethy | Note Added: 0010355 |
01-12-2011 15:27 | Jacob Wieland - Spirent | File Added: CR5957.doc |
01-12-2011 15:28 | Jacob Wieland - Spirent | Note Added: 0010486 |
02-12-2011 12:53 | Ina Schieferdecker | Note Added: 0010516 |
02-12-2011 12:53 | Ina Schieferdecker | Status | assigned => resolved
02-12-2011 12:53 | Ina Schieferdecker | Resolution | open => fixed
02-12-2011 12:53 | Ina Schieferdecker | Fixed in Version | => Edition 4.4.1
02-12-2011 12:54 | Ina Schieferdecker | Status | resolved => closed

Notes

(0010355)
Gyorgy Rethy
28-11-2011 15:47

STF discussion 28/11: Discuss the proposal with MTP.

(0010486)
Jacob Wieland - Spirent
01-12-2011 15:28

Implemented as proposed.

(0010516)
Ina Schieferdecker
02-12-2011 12:53

as proposed.