Skip to content

Commit

Permalink
FIX recupero allegati missione
Browse files Browse the repository at this point in the history
  • Loading branch information
mspasiano committed Sep 18, 2017
1 parent 8d85115 commit da115a8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2827,7 +2827,7 @@ private void recuperoAllegatiDettaglioMissioneSigla(MissioneBulk allegatoParentB
if (storageObject.getPropertyValue(StoragePropertyNames.BASE_TYPE_ID.value()).equals(StoragePropertyNames.CMIS_FOLDER.value())) {
String prop = storageObject.getPropertyValue(StoragePropertyNames.OBJECT_TYPE_ID.value());
if (prop.equals("F:missioni_rimborso_dettaglio:main")){
String rigaString = storageObject.getPropertyValue("missioni_rimborso_dettaglio:riga");
BigInteger rigaString = storageObject.getPropertyValue("missioni_rimborso_dettaglio:riga");
List<StorageObject> children = missioniCMISService.getChildren(storageObject.getKey());
if (children != null){
for (StorageObject doc : children) {
Expand All @@ -2842,7 +2842,7 @@ private void recuperoAllegatiDettaglioMissioneSigla(MissioneBulk allegatoParentB
for ( java.util.Iterator i = allegatoParentBulk.getSpeseMissioneColl().iterator(); i.hasNext(); )
{
Missione_dettaglioBulk spesa = (Missione_dettaglioBulk) i.next();
if (spesa.getPg_riga().compareTo(new Long(rigaString)) == 0){
if (spesa.getPg_riga().compareTo(rigaString.longValue()) == 0){
spesa.addToDettaglioSpesaAllegati(allegato);
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
user.admin.username=sigla
user.admin.password=***REMOVED***
repository.base.url=http://as11.cedrc.cnr.it:8380/alfresco/
repository.base.url=http://as1dock.si.cnr.it:8080/alfresco/

pec.scan.disable=true
pec.cron.expression=0 0/30 * * * ?
Expand Down
4 changes: 2 additions & 2 deletions src/main/docker/standalone/configuration/standalone.xml
Original file line number Diff line number Diff line change
Expand Up @@ -144,15 +144,15 @@
</security>
</datasource>
<datasource jndi-name="java:/jdbc/CIR" pool-name="OracleDSSIGLAPool" enabled="true" use-java-context="true" statistics-enabled="true">
<connection-url>jdbc:oracle:thin:@sigladb.cedrc.cnr.it:1521:SIGLAP</connection-url>
<connection-url>jdbc:oracle:thin:@dbtest.cedrc.cnr.it:1521:SIGLAF</connection-url>
<driver>ojdbc</driver>
<pool>
<min-pool-size>5</min-pool-size>
<max-pool-size>20</max-pool-size>
</pool>
<security>
<user-name>PCIR009</user-name>
<password>nemo1112!</password>
<password>dbform</password>
</security>
<validation>
<exception-sorter class-name="org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter"/>
Expand Down

0 comments on commit da115a8

Please sign in to comment.