eclipse-cyclonedds / eclipse-cyclonedds/cyclonedds-python

Inheritance in cyclonedds-python not working properly after last commits in the master

Open
#172 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
110
Forks
68
Avg merge
1h 8m
Merged PRs (30d)
1

Description

Hello,

After downloading the master of cyclonedss and cyclonedds-python, and test structs' inheritance, subscriber is not receiving any message.

If you test with the next IDL:

module module_test {
    struct parent {
        char var;
    };
    struct child : parent {
        char var2;
    };
};

And subscriber tries to receive messages from parent, it works properly, but it is not able to receive messages from child.

It seems that the changes done by @thijsmie on issue #162 solved the problem, but commits from the last days have caused the problem.

Best regards.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the parent and child IDL shown in the report, using a subscriber that receives parent messages. Compare behavior with the recent master commits mentioned in the issue. Done means messages published as child instances are received through the parent subscriber as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
distributed-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.