Skip to content

Commit

Permalink
fixed issue with duplication not copying the parties. issue #2455
Browse files Browse the repository at this point in the history
  • Loading branch information
j-dimension committed Sep 30, 2024
1 parent 80f2af7 commit b89a00b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1257,6 +1257,8 @@ private void mnuDuplicateSelectedArchiveFilesActionPerformed(java.awt.event.Acti
source.setArchived(false);
source.setClaimNumber("");
source.setClaimValue(0f);
// reset external IDs
source.setExternalId(null);

ArchiveFileBean target=fileService.createArchiveFile(source);

Expand All @@ -1270,7 +1272,7 @@ private void mnuDuplicateSelectedArchiveFilesActionPerformed(java.awt.event.Acti
newAab.setCustom2(aab.getCustom2());
newAab.setCustom3(aab.getCustom3());
newAab.setReferenceType(aab.getReferenceType());
target.addParty(newAab);
fileService.addAddressToCase(newAab);

}

Expand Down

0 comments on commit b89a00b

Please sign in to comment.