From: elgekko Date: Sun, 28 Jan 2024 21:57:18 +0000 (+0100) Subject: Project editor save (2 invoices added) bug partially fixed X-Git-Url: http://git.useribm.hu/?a=commitdiff_plain;h=6f6e17229727a974f938205eb078bf4ab754e88a;p=sly-crm.git Project editor save (2 invoices added) bug partially fixed --- diff --git a/lis-ui/src/main/java/hu/user/lis/ui/editor/ProjectEditorModel.java b/lis-ui/src/main/java/hu/user/lis/ui/editor/ProjectEditorModel.java index a47a166..f18cc45 100644 --- a/lis-ui/src/main/java/hu/user/lis/ui/editor/ProjectEditorModel.java +++ b/lis-ui/src/main/java/hu/user/lis/ui/editor/ProjectEditorModel.java @@ -145,7 +145,8 @@ public class ProjectEditorModel extends EntityEditorModel { private void updateInvoiceFileChanges(Invoice invoice) { List actions = invoiceDocumentActions.get(invoice.getTechnicalId()); - if (!actions.isEmpty()) { + //TODO nem letezo technikai ID miatt itt null jon, pedig nem johetne. File feltoltes bug lehet belole. + if (actions != null && !actions.isEmpty()) { entityDocumentService.executeActions(invoice.getId(), actions); } }