Skip to content

Fix new enrolment check in cases when match result is empty#1517

Merged
luhmirin-s merged 1 commit into
mainfrom
hotfix/regression
Dec 22, 2025
Merged

Fix new enrolment check in cases when match result is empty#1517
luhmirin-s merged 1 commit into
mainfrom
hotfix/regression

Conversation

@luhmirin-s
Copy link
Copy Markdown
Contributor

JIRA ticket
Will be released in: 2026.1.0

Root cause analysis (for bugfixes only)

First known affected version: 2026.1.0

  • Somewhere during the refactoring, we lost a case with empty match results in the check if the enrolment call is new. This fails the duplicate check and prevents new enrolment creation if the check is enabled.

Notable changes

  • Move the empty list check to a cleaner place. Also added a unit test for this case.

Testing guidance

  • Run duplicate enrolment test cases (or do an automated test run)

Additional work checklist

  • Effect on other features and security has been considered
  • Design document marked as "In development" (if applicable)
  • External (Gitbook) and internal (Confluence) Documentation is up to date (or ticket created)
  • Test cases in Testiny are up to date (or ticket created)
  • Other teams notified about the changes (if applicable)

@luhmirin-s luhmirin-s requested review from a team, BurningAXE, TristramN, alex-vt, alexandr-simprints, meladRaouf and ybourgery and removed request for a team December 22, 2025 15:05
@cla-bot cla-bot Bot added the ... label Dec 22, 2025
@sonarqubecloud
Copy link
Copy Markdown

@luhmirin-s luhmirin-s merged commit 657f8ca into main Dec 22, 2025
13 checks passed
@luhmirin-s luhmirin-s deleted the hotfix/regression branch December 22, 2025 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants