-
Notifications
You must be signed in to change notification settings - Fork 774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[19089] Fix HelloWorld DataSharing example idl #3714
[19089] Fix HelloWorld DataSharing example idl #3714
Conversation
5febd8a
to
071760f
Compare
Changes LGTM. I was wondering if the changes should be backported, in that case, the types should be re-generated with the corresponding fastddsgen version, what do you think @EduPonz ?. Also, if backporting is considered, it should be 2.11.x, 2.10.x and 2.6.x |
I think this should be backported and the types should be regenerated as suggested by Mario. |
@Mergifyio backport 2.11.x 2.10.x 2.6.x |
✅ Backports have been created
|
@richiprosima please test this |
071760f
to
7a2e801
Compare
22a5ed4
to
9c76dcc
Compare
7a2e801
to
991cc54
Compare
b214dab
to
17ed249
Compare
Signed-off-by: JesusPoderoso <[email protected]>
17ed249
to
a44dcb1
Compare
@richiprosima please test this |
Signed-off-by: JesusPoderoso <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with Green Windows v141 ci
* Refs #19089: Fix HelloWorld DataSharing example idl as bounded Signed-off-by: JesusPoderoso <[email protected]> * Refs #19089: Revert uncrustify fix in types Signed-off-by: JesusPoderoso <[email protected]> --------- Signed-off-by: JesusPoderoso <[email protected]> (cherry picked from commit 4fed0bd) # Conflicts: # examples/cpp/dds/HelloWorldExampleDataSharing/HelloWorld.h # examples/cpp/dds/HelloWorldExampleDataSharing/HelloWorldCdrAux.hpp
* Refs #19089: Fix HelloWorld DataSharing example idl as bounded Signed-off-by: JesusPoderoso <[email protected]> * Refs #19089: Revert uncrustify fix in types Signed-off-by: JesusPoderoso <[email protected]> --------- Signed-off-by: JesusPoderoso <[email protected]> (cherry picked from commit 4fed0bd) # Conflicts: # examples/cpp/dds/HelloWorldExampleDataSharing/HelloWorld.h # examples/cpp/dds/HelloWorldExampleDataSharing/HelloWorldCdrAux.hpp
* Refs #19089: Fix HelloWorld DataSharing example idl as bounded Signed-off-by: JesusPoderoso <[email protected]> * Refs #19089: Revert uncrustify fix in types Signed-off-by: JesusPoderoso <[email protected]> --------- Signed-off-by: JesusPoderoso <[email protected]> (cherry picked from commit 4fed0bd) # Conflicts: # examples/C++/DDS/ContentFilteredTopicExample/HelloWorld.h # examples/cpp/dds/HelloWorldExampleDataSharing/HelloWorldCdrAux.hpp
* Fix HelloWorld DataSharing example idl (#3714) * Refs #19089: Fix HelloWorld DataSharing example idl as bounded Signed-off-by: JesusPoderoso <[email protected]> * Refs #19089: Revert uncrustify fix in types Signed-off-by: JesusPoderoso <[email protected]> --------- Signed-off-by: JesusPoderoso <[email protected]> (cherry picked from commit 4fed0bd) # Conflicts: # examples/cpp/dds/HelloWorldExampleDataSharing/HelloWorld.h # examples/cpp/dds/HelloWorldExampleDataSharing/HelloWorldCdrAux.hpp * Refs #19089: Fix conflicts (regenerate types with proper fastddsgen & fastcdr versions) Signed-off-by: JesusPoderoso <[email protected]> --------- Signed-off-by: JesusPoderoso <[email protected]> Co-authored-by: Jesús Poderoso <[email protected]> Co-authored-by: JesusPoderoso <[email protected]>
* Fix HelloWorld DataSharing example idl (#3714) * Refs #19089: Fix HelloWorld DataSharing example idl as bounded Signed-off-by: JesusPoderoso <[email protected]> * Refs #19089: Revert uncrustify fix in types Signed-off-by: JesusPoderoso <[email protected]> --------- Signed-off-by: JesusPoderoso <[email protected]> (cherry picked from commit 4fed0bd) # Conflicts: # examples/cpp/dds/HelloWorldExampleDataSharing/HelloWorld.h # examples/cpp/dds/HelloWorldExampleDataSharing/HelloWorldCdrAux.hpp * Refs #19089: Fix conflicts (regenerate types with proper fastddsgen & fastcdr versions) Signed-off-by: JesusPoderoso <[email protected]> --------- Signed-off-by: JesusPoderoso <[email protected]> Co-authored-by: Jesús Poderoso <[email protected]> Co-authored-by: JesusPoderoso <[email protected]>
Description
One of the Data-sharing constraints is that the types must be bounded. In the Data-sharing helloworld example, it is forced to use datasharing but the IDL types do not use bounded strings.
This Pull Request updates IDL to use bounded string, and regenerates the types with the bounded string.
@Mergifyio backport 2.11.x 2.10.x 2.6.x
Fixes #3710
Contributor Checklist
versions.md
file (if applicable).Reviewer Checklist