ChimeraTK / ChimeraTK/ControlSystemAdapter-DoocsAdapter

Prevent properties with same name

Open
#41 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
0
Forks
1
Avg merge
23h 29m
Merged PRs (30d)
1

Description

Properties with the same name can be created, at least if they have the same data source. They will actually appear twice then in rpc_test. This should be prevented and a logic_error should be thrown.

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 locating rpc_test and the property-creation path it exercises. Reproduce the duplicate-property case described in the issue, then add coverage showing that same-name properties using the same data source are rejected with logic_error; done means they no longer appear twice in rpc_test.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend-api-design
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.