Fast-DDS icon indicating copy to clipboard operation
Fast-DDS copied to clipboard

I want a sequence string, but if the string exceeds 255, an error will be reported ([DYN_TYPES Error] Error setting string value. The given string is greater than the length limit. -> Function eprosima::fastrtps::types::DynamicData::set_string_value)

Open huqin-RM opened this issue 2 years ago • 1 comments

Is there an already existing issue for this?

  • [X] I have searched the existing issues

Expected behavior

Sequence can contain strings of more than 255 characters

Current behavior

More than the error exceeds the maximum value

Steps to reproduce

Fast DDS version/commit

2.3

Platform/Architecture

Windows 10 Visual Studio 2019

Transport layer

UDPv4

Additional context

No response

XML configuration file

No response

Relevant log output

2022-05-25 17:09:11.590 [DYN_TYPES Error] Error setting string value. The given string is greater than the length limit. -> Function eprosima::fastrtps::types::DynamicData::set_string_value
2022-05-25 17:09:11.590 [DYN_TYPES Error] Error setting string value. The given string is greater than the length limit. -> Function eprosima::fastrtps::types::DynamicData::set_string_value

Network traffic capture

No response

huqin-RM avatar May 25 '22 09:05 huqin-RM

@huqin-RM First of all, sorry for the late answer.

It would be nice if you can give a minimal reproducer, so we can take a look at whether this is a bug or a misuse of the library.

Could you provide that?

MiguelCompany avatar Oct 11 '22 08:10 MiguelCompany

According to our CONTRIBUTING.md guidelines, I am closing this issue due to inactivity.

Mario-DL avatar Nov 30 '22 15:11 Mario-DL