Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000908Taste[All Projects] Ocarina - parsingpublic2020-03-23 14:312020-08-31 15:31
Reportermiguel_munoz 
Assigned Toellidiss 
PriorityhighSeveritymajorReproducibilityhave not tried
StatusclosedResolutionduplicate 
PlatformOSOS Version
Summary0000908:

Circular extension error with IP driver

Description

The following error happens on the master branch. It doesn't happen in the TASTE-9.1 branch.

When trying to build a model with a device generic_sockets_ip_pohic, the build fails with the following error:

__dv_1_3.aadl:25:01: component type creates a circular extension
__dv_1_3.aadl:39:01: component implementation creates a circular extension
__dv_1_3.aadl:62:01: component type creates a circular extension
__dv_1_3.aadl:76:01: component implementation creates a circular extension

Looking at the erroneous line, it seems that the conversion of the deployment view to 1.3 is done incorrectly.

While in the TASTE-9.1 branch the device definition is converted as follows:

DEVICE generic_sockets_ip_pohic
EXTENDS ocarina_drivers::generic_sockets_ip
...

In the master branch, the following is produced:

DEVICE generic_sockets_ip_pohic
EXTENDS deploymentview::DV::Node1::generic_sockets_ip_pohic
...

Instead of extending the default type in the ocarina library, it references itself in the deployment view. The same happens for the device implementation.

TagsNo tags attached.
Attached Fileszip file icon test_with_sockets.zip [^] (1,574,786 bytes) 2020-03-23 14:31

- Relationships
duplicate of 0000907closedellidiss 

Pb in save/1.3 export of deployment view

 

-  Notes
(0003706)
maxime (administrator)
2020-03-23 14:45

This bug was reported last week to Ellidiss (see 0000907), as it appeared in the last version of the tool

If you switch to kazoo (you have it in master), you will not have this bug as there is no more conversion of the models during the build.
https://taste.tuxfamily.org/wiki/index.php?title=Kazoo [^]

(0003716)
ellidiss (developer)
2020-04-17 14:13

available in version 2.4.0


- Issue History
Date Modified Username Field Change
2020-03-23 14:31 miguel_munoz New Issue
2020-03-23 14:31 miguel_munoz Status

new => assigned

2020-03-23 14:31 miguel_munoz Assigned To

=> hugues

2020-03-23 14:31 miguel_munoz File Added: test_with_sockets.zip
2020-03-23 14:34 maxime Relationship added

duplicate of 0000907

2020-03-23 14:35 maxime Assigned To

hugues => ellidiss

2020-03-23 14:45 maxime Note Added: 0003706
2020-04-17 14:13 ellidiss Note Added: 0003716
2020-04-17 14:13 ellidiss Status

assigned => resolved

2020-04-17 14:13 ellidiss Resolution

open => duplicate

2020-08-31 15:31 maxime Status

resolved => closed



Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker