Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Titan » Assignment of ASN.1 based template
Assignment of ASN.1 based template [message #1857566] Wed, 15 February 2023 13:48 Go to next message
Olaf Bergengruen is currently offline Olaf BergengruenFriend
Messages: 122
Registered: November 2018
Senior Member
Hi TTCN / ASN.1 experts,

we found an issue which may be a bug in the Titan compiler, as follows:

In the project attached in file Test.ttcn: 54 we have an assignment

 v_tmpB := v_tmpA;


v_tmpA and v_tmpB are of different types but the types have identical structures, and according to the TTCN language spec clause 6.3.2 the assignment should be valid, but we get a runtime error:

Dynamic test case error: Values or templates of types `@SDAP-CONFIG-ASN1-Definitions.SetupRelease.SDAP-CONFIG-ASN1-Definitions.inst3' and `@SDAP-CONFIG-ASN1-Definitions.SetupRelease.SDAP-CONFIG-ASN1-Definitions.inst4' are not compatible at run-time


To make the project just type make, to run ./Test Test.cfg.

Any comments would be appreciated,
Olaf @ ETSI TF160
Re: Assignment of ASN.1 based template [message #1857640 is a reply to message #1857566] Fri, 17 February 2023 16:34 Go to previous messageGo to next message
Botond Baranyi is currently offline Botond BaranyiFriend
Messages: 53
Registered: February 2016
Member
Hi Olaf,

this issue has been resolved in the current build.

Best regards,
Botond Baranyi
Re: Assignment of ASN.1 based template [message #1857641 is a reply to message #1857640] Fri, 17 February 2023 17:20 Go to previous message
Olaf Bergengruen is currently offline Olaf BergengruenFriend
Messages: 122
Registered: November 2018
Senior Member
Wow, Botond,
I confirm that the issue has been solved.
I will communicate this to our customers using the 5G 3GPP/ETSI test suite.

Thanks and have nice week end

Previous Topic:Titan 8.3.0 release notification
Next Topic:ASN.1 Information Objects parsing error
Goto Forum:
  


Current Time: Fri Apr 26 06:13:58 GMT 2024

Powered by FUDForum. Page generated in 0.02770 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top