Skip to content

MODDICORE-502: Fix StringIndexOutOfBoundsException and NPE when the target subfield is empty in a field mapping profile - #447

Merged
Aliaksandr-Fedasiuk merged 4 commits into
masterfrom
MODDICORE-502
Sep 15, 2026
Merged

Aliaksandr-Fedasiuk merged 4 commits into
masterfrom
MODDICORE-502

Conversation

@Aliaksandr-Fedasiuk

Copy link
Copy Markdown
Contributor

Purpose

When creating a mapping profile manually, you may get an IndexOutOfBoundsException or an NPE when processing that profile (when created via the UI, this possibility is checked and blocked)

Approach

Processing of this field is skipped with logging

Changes Checklist

  • Logging: Confirm that logging is appropriately handled.
  • Unit Testing: Confirm that changed classes were covered by unit tests.
  • NEWS: Confirm that the NEWS file is updated with relevant information about the changes made in this pull request.

Learning and Resources (if applicable)

MODDICORE-502

@sonarqubecloud

Copy link
Copy Markdown

@Aliaksandr-Fedasiuk
Aliaksandr-Fedasiuk merged commit 8ae8d98 into master Sep 15, 2026
33 of 34 checks passed
@Aliaksandr-Fedasiuk
Aliaksandr-Fedasiuk deleted the MODDICORE-502 branch September 15, 2026 09:36
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