ETSI's Bug Tracker - Part 06: TTCN-3 Control Interface
View Issue Details
0004291Part 06: TTCN-3 Control InterfaceTechnicalpublic14-10-2008 18:4514-12-2008 10:52
Thomas Deiß 
Ina Schieferdecker 
normalminorN/A
closedfixed 
v3.4.1 (published 2008-09) 
v4.1.1 (published 2009-06)v4.1.1 (published 2009-06) 
part6, 8.2.2.3, 8.2.2.12, 9.5
Nokia Siemens Networks, Thomas Deiß
0004291: tciparametertype tciparametertypetype errors
The tciparametertype and tciparameterlisttype are used in the TCI for actual parameter lists.
The tciparametertypetype and tciparametertypelisttype are used in the TCI for formal parameter lists (of testcases).

In the Java language mapping, the operation get on tciparametertypelisttype returns an object of the Java class tciparametertype, but this is not defined. Note that TciParameterType in Java would correspond to the IDL definition TciParameterTypeType (all the Java definitions skip the final 'type')

In the C language mapping, tciparametertypelisttype is defined as an array over 'Type', but this would not contain the passing mode information. The definition of a C type TciParameterTypeType is missing.

typedef struct TciParameterTypeType
  {
    TciParameterPassingModeType parPassMode;
    Type parType;
  } TciParameterTypeType;

Name of parameter is not needed as this is also not contained in the IDL definition in Annex A.1
  struct TciParameterTypeType {
    Type parameterType;
    TciParameterPassingModeType mode;
  };

In Section 8.2.2.3, the Java interface name is misspelled, an 'r' is missing: TciParameteList
 
No tags attached.
doc CR4291_ParameterTypeType.doc (40,448) 12-12-2008 14:56
http://oldforge.etsi.org/mantis/file_download.php?file_id=1890&type=bug
Issue History
14-10-2008 18:45Thomas DeißNew Issue
14-10-2008 18:45Thomas DeißStatusnew => assigned
14-10-2008 18:45Thomas DeißAssigned To => Ina Schieferdecker
14-10-2008 18:45Thomas DeißClause Reference(s) => part6, 8.2.2.3, 8.2.2.12, 9.5
14-10-2008 18:45Thomas DeißSource (company - Author) => Nokia Siemens Networks, Thomas Deiß
16-10-2008 14:21Ina SchieferdeckerNote Added: 0007096
16-10-2008 14:22Ina SchieferdeckerAssigned ToIna Schieferdecker => Thomas Deiß
16-10-2008 14:22Ina SchieferdeckerResolutionopen => fixed
16-10-2008 14:22Ina SchieferdeckerTarget Version => Edition 4.1.1 (not yet published)
16-10-2008 15:17Ina SchieferdeckerNote Deleted: 0007096
16-10-2008 15:17Ina SchieferdeckerNote Added: 0007100
24-11-2008 10:52Thomas DeißNote Added: 0007385
24-11-2008 10:52Thomas DeißAssigned ToThomas Deiß => Ina Schieferdecker
12-12-2008 14:46Ina SchieferdeckerNote Edited: 0007100
12-12-2008 14:46Ina SchieferdeckerNote Edited: 0007385
12-12-2008 14:56Ina SchieferdeckerFile Added: CR4291_ParameterTypeType.doc
12-12-2008 14:57Ina SchieferdeckerStatusassigned => resolved
12-12-2008 14:57Ina SchieferdeckerFixed in Version => Edition 4.1.1 (not yet published)
12-12-2008 15:35Ina SchieferdeckerNote Added: 0007688
12-12-2008 15:35Ina SchieferdeckerAssigned ToIna Schieferdecker => Thomas Deiß
14-12-2008 10:52Ina SchieferdeckerAssigned ToThomas Deiß => Ina Schieferdecker
14-12-2008 10:52Ina SchieferdeckerStatusresolved => closed

Notes
(0007100)
Ina Schieferdecker   
16-10-2008 15:17   
(edited on: 12-12-2008 14:46)
The C mapping for TciParameterTypeListType is:

typedef struct TciParameterTypeListType
{
  long int length;
  Type *parList;
} TciParameterTypeListType;

changed into

typedef struct TciParameterTypeListType
{
  long int length;
  TciParameterTypeType *parList;
} TciParameterTypeListType;

with TciParameterTypeType being defined as

typedef struct TciParameterTypeType {
    Type parameterType;
    TciParameterPassingModeType mode;
} TciParameterTypeType;


The Java and C++ mapping are to be extended accordingly.

(0007385)
Thomas Deiß   
24-11-2008 10:52   
(edited on: 12-12-2008 14:46)
proposed change (in Note) for C mapping is ok.

(0007688)
Ina Schieferdecker   
12-12-2008 15:35   
Please check the uploaded resolution.