From caabd36bff70ed66435f81276c02ed2989b9a409 Mon Sep 17 00:00:00 2001 From: Luis Cruz Date: Mon, 4 Nov 2019 13:57:27 +0000 Subject: [PATCH] Temporarily stop automatic sync of financial documents to SAP. FIST-820 #resolve. --- .../fenixedu/sap/servlet/FenixEduSapInvoiceContextListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fenixedu-ist-giaf-invoices/src/main/java/pt/ist/fenixedu/sap/servlet/FenixEduSapInvoiceContextListener.java b/fenixedu-ist-giaf-invoices/src/main/java/pt/ist/fenixedu/sap/servlet/FenixEduSapInvoiceContextListener.java index 9b46791a799..381c07d4dcf 100644 --- a/fenixedu-ist-giaf-invoices/src/main/java/pt/ist/fenixedu/sap/servlet/FenixEduSapInvoiceContextListener.java +++ b/fenixedu-ist-giaf-invoices/src/main/java/pt/ist/fenixedu/sap/servlet/FenixEduSapInvoiceContextListener.java @@ -61,7 +61,7 @@ public void contextInitialized(final ServletContextEvent sce) { Signal.register(AccountingTransaction.SIGNAL_ANNUL, this::handlerAccountingTransactionAnnulment); Signal.register(EventState.EVENT_STATE_CHANGED, this::handlerEventStateChange); Signal.register(EventState.EVENT_STATE_CHANGED, this::calculateSapRequestsForCanceledEvent); - Signal.registerWithoutTransaction(EventState.EVENT_STATE_CHANGED, this::processEvent); +// Signal.registerWithoutTransaction(EventState.EVENT_STATE_CHANGED, this::processEvent); FenixFramework.getDomainModel().registerDeletionBlockerListener(Exemption.class, this::blockExemption); FenixFramework.getDomainModel().registerDeletionBlockerListener(Discount.class, this::blockDiscount);