Skip to content
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

[BUG]: <In configuration_impl::load_partition function, its_partition_members usage can be improved> #814

Open
1ittledragon opened this issue Nov 22, 2024 · 0 comments
Labels

Comments

@1ittledragon
Copy link

vSomeip Version

v3.5.1

Boost Version

1.71

Environment

Ubuntu 22.04

Describe the bug

Hi vsomeip experts,
In configuration_impl::load_partition(const boost::property_tree::ptree &_tree)function, only the last service-instance key-value pair is inserted into the its_partition_members container. If more than 1 service-instance pairs are configured in one partition, the preceding configuration will not be loaded which leads to subscription failure.

Reproduction Steps

"0x7901" and "0x7107" share the same local port, so I configure patitions as below

"partitions":
    [
        {"clients1":
          {
              "service": "0x7901",
              "service": "0x7107",
             "instance": "0x0001"
          }
        }
   ]

Expected behaviour

Service "0x7901" and "0x7107" use the same port at subscribe stage, and receives SubscribeAck.

Logs and Screenshots

20241122-220406
20241122-220412

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant