Skip to content

Commit 280ba79

Browse files
committed
Adds simple comment as per PR review #14124
1 parent 87d0496 commit 280ba79

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

sormas-ui/src/main/java/de/symeda/sormas/ui/therapy/DrugSusceptibilityForm.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,9 @@ public void markAsDirty() {
350350

351351
@Override
352352
public void commit() {
353+
// When no DrugSusceptibilityDto is bound (e.g. after a disease-section swap nulls it), the internal
354+
// field group has no item datasource, so committing its always-bound drug fields would throw
355+
// "Property amikacinMic not bound to datasource" (#14124). Nothing to write, so skip the commit.
353356
if (getValue() == null) {
354357
return;
355358
}

0 commit comments

Comments
 (0)