Sfoglia il codice sorgente

fix clone pratica

feature/fix_soggetti
Marco Alderighi 1 anno fa
parent
commit
1816afc491
  1. BIN
      liferay-plugins-sdk-6.2/dist/portos-report-shared-6.2.0.1.jar
  2. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar
  3. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-report-shared.jar
  4. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java
  5. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties
  6. BIN
      liferay-plugins-sdk-6.2/portlets/portos-report-engine-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar
  7. BIN
      liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/lib/portos-report-shared.jar
  8. 4
      liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/report/messaging/ReportMessageListener.java
  9. 3
      liferay-plugins-sdk-6.2/shared/portos-report-shared/src/it/tref/liferay/portos/report/shared/util/ReportUtil.java

BIN
liferay-plugins-sdk-6.2/dist/portos-report-shared-6.2.0.1.jar vendored

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-report-shared.jar

File binario non mostrato.

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java

@ -410,7 +410,7 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
IntPratica intPraticaToClone = intPraticaLocalService.getIntPratica(intPraticaId);
IntPratica intPraticaCloned = addIntPratica(intPraticaToClone.getTerritorioId(),
intPraticaToClone.getTipoProcedura(), intPraticaCloned.isPraticaOspedaliera(), serviceContext);
intPraticaToClone.getTipoProcedura(), intPraticaToClone.isPraticaOspedaliera(), serviceContext);
intPraticaCloned = cloneData(intPraticaCloned, intPraticaToClone);
DettPratica dettPraticaToClone = dettPraticaLocalService.getLastCompletedByIntPratica(intPraticaId);
DettPratica dettPraticaCloned = dettPraticaLocalService.addDettPraticaClonedToIntPratica(

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties

@ -13,8 +13,8 @@
##
build.namespace=portos_bo
build.number=2919
build.date=1694609122933
build.number=2921
build.date=1695208689116
build.auto.upgrade=true
##

BIN
liferay-plugins-sdk-6.2/portlets/portos-report-engine-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/lib/portos-report-shared.jar

File binario non mostrato.

4
liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/report/messaging/ReportMessageListener.java

@ -37,6 +37,10 @@ public class ReportMessageListener extends BaseMessageListener {
protected void doReceive(Message message) throws Exception {
try {
if(_log.isDebugEnabled()){
_log.debug("doReceive");
}
long companyId = message.getLong(ReportConstants.COMPANY_ID);
long userId = message.getLong(ReportConstants.USER_ID);

3
liferay-plugins-sdk-6.2/shared/portos-report-shared/src/it/tref/liferay/portos/report/shared/util/ReportUtil.java

@ -46,6 +46,9 @@ public class ReportUtil {
setMessage(message, companyId, userId, ReportProcessMode.SYNC, Collections.singletonList(reportDto),
dataSource, null);
String json = (String) MessageBusUtil.sendSynchronousMessage(ReportDestinationNames.SYNC, message, 1);
if(_log.isDebugEnabled()){
_log.debug("JSON => " + json);
}
return JSONFactoryUtil.looseDeserialize(json, ReportResultDto.class);
} catch (Exception e) {
if(_log.isDebugEnabled()){

Caricamento…
Annulla
Salva