Skip to content

Backward compatability when adding fields to an existing msg #620

@TamarYi

Description

@TamarYi

Bug report

Operating System:
Ubuntu 20.04 64b

Installation type:

Version or commit hash:
5.0.2

DDS implementation:
Fast-RTPS

Steps to reproduce issue:

  1. Create a topic with X fields
  2. Compile for the publisher
  3. Add another field to the topic
  4. Compile the subscriber
  5. "Listen" to the topic
  6. Publish the topic

Expected behavior:
In a different RMW the subscriber receives the full message with the full list of the fields (X+1)
when the last field is set to 0

Actual behavior:
Message is published but the subscriber doesn't receive the message

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions