Skip to content

fix(matching): Fix multi-match exception is thrown when local matched instance is null - #939

Merged
viacheslavkol merged 2 commits into
masterfrom
MODINV-1400-fix-1
Aug 14, 2026
Merged

fix(matching): Fix multi-match exception is thrown when local matched instance is null#939
viacheslavkol merged 2 commits into
masterfrom
MODINV-1400-fix-1

Conversation

@viacheslavkol

@viacheslavkol viacheslavkol commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Purpose

Fix multi-match exception is thrown when local matched instance is null.
Shadow copy check fails because of the multi-match

Approach

Check that local matched instance is not null before shadow copy check. In case of multi-match it would be null although found local record would be in fact shadow copies.

Changes Checklist

  • API Changes: Document any API paths, methods, request or response bodies changed, added, or removed.
  • Database Schema Changes: Indicate any database schema changes and their impact. Confirm that migration scripts were created.
  • Interface Version Changes: Indicate any changes to interface versions.
  • Interface Dependencies: Document added or removed dependencies.
  • Permissions: Document any changes to permissions.
  • Logging: Confirm that logging is appropriately handled.
  • Unit Testing: Confirm that changed classes were covered by unit tests.
  • Integration Testing: Confirm that changed logic was covered by integration tests.
  • Manual Testing: Confirm that changes were tested on local or dev environment.
  • NEWS: Confirm that the NEWS file is updated with relevant information about the changes made in this pull request.

Related Issues

MODINV-1400

@viacheslavkol viacheslavkol self-assigned this Aug 13, 2026
@viacheslavkol
viacheslavkol marked this pull request as ready for review August 14, 2026 09:55
@viacheslavkol
viacheslavkol requested a review from a team as a code owner August 14, 2026 09:55
@viacheslavkol
viacheslavkol enabled auto-merge (squash) August 14, 2026 12:28
@viacheslavkol
viacheslavkol merged commit 7c1f562 into master Aug 14, 2026
16 checks passed
@viacheslavkol
viacheslavkol deleted the MODINV-1400-fix-1 branch August 14, 2026 12:32
@sonarqubecloud

Copy link
Copy Markdown

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.

3 participants