ETSI's Bug Tracker - Part 05: TTCN-3 Runtime Interface
View Issue Details

ID | Project | Category | View Status | Date Submitted | Last Update
0005948 | Part 05: TTCN-3 Runtime Interface | Technical | public | 15-10-2011 18:32 | 10-08-2012 15:03

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

Summary | 0005948: C++ mapings toString() not needed

Description

toString() methods should not be a part of classes interfaces (they are not needed here). They do not introduce anything that cannot be obtained with already existing public interface. In many cases people will not use toString() interface methods because they may not be implemented like they need (by other vendors). Instead they will create their own utility functions to create strings like they really need (i.e. in TM or TL). Those utilities will use class members visible by already existing public interfaces.
Providing that method in a class forces developer to implement them but he may not know what is the desired output to best fit TL, TM or other entities needs.
Moreover none of TCI classes provide such a method which makes the interface inconsistent.
Please remove those method from QualifiedName, TriComponentId, TriMessage, triException,
Best
Mat

Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files | CR5948.docx (24,197) 12-07-2012 11:44 http://oldforge.etsi.org/mantis/file_download.php?file_id=2690&type=bug

Issue History
Date Modified | Username | Field | Change
15-10-2011 18:32 | Mateusz Pusz | New Issue |
15-10-2011 18:32 | Mateusz Pusz | Clause Reference(s) | => TRI 8.5
15-10-2011 18:32 | Mateusz Pusz | Source (company - Author) | => Mateusz Pusz/freettcn
28-11-2011 12:52 | Gyorgy Rethy | Project | TTCN-3 Change Requests => Part 06: TTCN-3 Control Interface
28-11-2011 16:13 | Gyorgy Rethy | Note Added: 0010358 |
28-11-2011 16:13 | Gyorgy Rethy | Target Version | => v4.7.1 (published 2015-06)
30-11-2011 11:02 | Ina Schieferdecker | Status | new => assigned
30-11-2011 11:02 | Ina Schieferdecker | Assigned To | => Ina Schieferdecker
12-07-2012 11:38 | Ina Schieferdecker | Project | Part 06: TTCN-3 Control Interface => Part 05: TTCN-3 Runtime Interface
12-07-2012 11:40 | Ina Schieferdecker | Note Added: 0010874 |
12-07-2012 11:44 | Ina Schieferdecker | File Added: CR5948.docx |
12-07-2012 11:45 | Ina Schieferdecker | Note Added: 0010875 |
12-07-2012 11:45 | Ina Schieferdecker | Assigned To | Ina Schieferdecker => Tomas Urban
12-07-2012 11:45 | Ina Schieferdecker | Resolution | open => fixed
12-07-2012 11:56 | Tomas Urban | Note Added: 0010878 |
12-07-2012 11:56 | Tomas Urban | Assigned To | Tomas Urban => Ina Schieferdecker
10-08-2012 15:03 | Ina Schieferdecker | Note Added: 0011035 |
10-08-2012 15:03 | Ina Schieferdecker | Status | assigned => closed
10-08-2012 15:03 | Ina Schieferdecker | Fixed in Version | => Edition 4.5.1

Notes

(0010358)
Gyorgy Rethy
28-11-2011 16:13

Postponed to 2012. Needs be discussed with tool vendors.

(0010874)
Ina Schieferdecker
12-07-2012 11:40

toString() not in TCI, just in TRI toString() not only in the C++, but also in the Java mapping - however would leave this untouched.

(0010875)
Ina Schieferdecker
12-07-2012 11:45

Please check.

(0010878)
Tomas Urban
12-07-2012 11:56

Reviewed. No issues found. It can be added to the specification.

(0011035)
Ina Schieferdecker
10-08-2012 15:03

as proposed