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

Throw error when entity keys are not unique #9883

Open
4 tasks
fniessink opened this issue Sep 27, 2024 · 0 comments
Open
4 tasks

Throw error when entity keys are not unique #9883

fniessink opened this issue Sep 27, 2024 · 0 comments
Labels
Feature New, enhanced, or removed feature

Comments

@fniessink
Copy link
Member

When entity keys are not unique, Quality-time may report the wrong count, see for example #9872. This story adds a feature to solve this problem for all sources.

User story

As a quality manager I want Quality-time to warn me that my source has non-unique entity keys instead of reporting incorrect data so that I can fix the problem at the source or contact the Quality-time developers to fix the issue in Quality-time.

Acceptance criteria

  • Quality-time shows an exception when a source has entity keys that are not unique.

Assumptions

  • This can be implemented for all sources at once.

Open issues

Non so far.

Out of scope

  • Fixing any issues in the sources.

Tasks

Components

Collector

  • Check for duplicate entity keys before storing the measurement
  • Throw an exception if there are any duplicate entity keys so that the message ends up in the UI.

Documentation

  • Update changelog
@fniessink fniessink added the Feature New, enhanced, or removed feature label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New, enhanced, or removed feature
Projects
Status: Ready
Development

No branches or pull requests

1 participant