mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Merged V3.1 to HEAD
12984: Sharepoint: Build fix after recent change to SiteService and bumped module version to 1.1 12997: (RECORD ONLY - Already merged) Added home property to start scripts; updated readmes; updated installers 13140: Merged V3.0 to V3.1 13138 Merged V2.2 to V3.0 13133: Fix ETWOTWO-1078: wcm submit does not complete when using Oracle 13146: Merged V3.0 to V3.1 13052: CIFS throws a NullPointerException if a non-relative path is received for a folder search. JLAN-69 13147: Updated svn:mergeinfo 13151: (RECORD ONLY) Changed labs -> enterprise for distribution bundles 13157: Partial fix for ETHREEOH-1277 - fixes usage of Application.getMessage() ___________________________________________________________________ Modified: svn:mergeinfo Merged /alfresco/BRANCHES/V3.0:r13052,13138 Merged /alfresco/BRANCHES/V2.2:r13133 Merged /alfresco/BRANCHES/V3.1:r12984,12997,13140,13146-13147,13151,13154,13157 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13603 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1670,5 +1670,28 @@
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<!-- Redeploy both direct and indirect submit processes for Oracle handling of empty transition names -->
|
||||
<bean id="patch.redeploySubmitProcess7" class="org.alfresco.repo.admin.patch.impl.GenericWorkflowPatch" parent="basePatch" >
|
||||
<property name="id"><value>patch.redeploySubmitProcess7</value></property>
|
||||
<property name="description"><value>patch.redeploySubmitProcess.description</value></property>
|
||||
<property name="fixesFromSchema"><value>0</value></property>
|
||||
<property name="fixesToSchema"><value>2003</value></property>
|
||||
<property name="targetSchema"><value>2004</value></property>
|
||||
<property name="workflowDefinitions">
|
||||
<list>
|
||||
<props>
|
||||
<prop key="engineId">jbpm</prop>
|
||||
<prop key="location">alfresco/workflow/submit_processdefinition.xml</prop>
|
||||
<prop key="mimetype">text/xml</prop>
|
||||
</props>
|
||||
<props>
|
||||
<prop key="engineId">jbpm</prop>
|
||||
<prop key="location">alfresco/workflow/submitdirect_processdefinition.xml</prop>
|
||||
<prop key="mimetype">text/xml</prop>
|
||||
</props>
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
</beans>
|
||||
|
@@ -19,4 +19,4 @@ version.build=@build-number@
|
||||
|
||||
# Schema number
|
||||
|
||||
version.schema=2003
|
||||
version.schema=2004
|
||||
|
@@ -216,7 +216,7 @@
|
||||
|
||||
<task-node name="submitted" end-tasks="true">
|
||||
<task name="wcmwf:submittedTask" swimlane="initiator">
|
||||
<timer duedate="5 seconds" transition="">
|
||||
<timer duedate="5 seconds" transition="onsubmit">
|
||||
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
|
||||
<script>
|
||||
logger.log("WCM Submit Process: Triggering submit for " + bpm_workflowDescription);
|
||||
@@ -246,7 +246,7 @@
|
||||
</action>
|
||||
</event>
|
||||
</task>
|
||||
<transition name="" to="checkfailedsubmit">
|
||||
<transition name="onsubmit" to="checkfailedsubmit">
|
||||
<exception-handler>
|
||||
<script>
|
||||
<variable name="submitfailed" access="write"/>
|
||||
|
@@ -17,7 +17,7 @@
|
||||
|
||||
<task-node name="submitted" end-tasks="true">
|
||||
<task name="wcmwf:submittedDirectTask" swimlane="initiator">
|
||||
<timer duedate="5 seconds" transition="">
|
||||
<timer duedate="5 seconds" transition="onsubmit">
|
||||
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
|
||||
<script>
|
||||
logger.log("WCM Submit Process: Triggering submit for " + bpm_workflowDescription);
|
||||
@@ -47,7 +47,7 @@
|
||||
</action>
|
||||
</event>
|
||||
</task>
|
||||
<transition name="" to="checkfailedsubmit">
|
||||
<transition name="onsubmit" to="checkfailedsubmit">
|
||||
<exception-handler>
|
||||
<script>
|
||||
<variable name="submitfailed" access="write"/>
|
||||
|
@@ -861,12 +861,21 @@ public class MessageServiceImpl implements MessageService
|
||||
{
|
||||
if ((line.length() > 0) && (line.charAt(0) != '#'))
|
||||
{
|
||||
String[] splits = line.split("=");
|
||||
if (splits.length != 2)
|
||||
String[] splits = line.split("=", 2);
|
||||
|
||||
if (splits.length == 2)
|
||||
{
|
||||
properties.put(splits[0], splits[1]);
|
||||
}
|
||||
else if (splits.length == 1)
|
||||
{
|
||||
properties.put(splits[0], "");
|
||||
}
|
||||
else
|
||||
{
|
||||
logger.warn("Unexpected message properties file format: " + line);
|
||||
throw new AlfrescoRuntimeException("Unexpected message properties file format: " + line);
|
||||
}
|
||||
properties.put(splits[0], splits[1]);
|
||||
}
|
||||
line = br.readLine();
|
||||
}
|
||||
|
@@ -67,6 +67,10 @@ public class AlfrescoJobExecutorThread extends JobExecutorThread
|
||||
{
|
||||
return Collections.EMPTY_LIST;
|
||||
}
|
||||
else if (alfrescoJobExecutor.getTransactionService().isReadOnly())
|
||||
{
|
||||
return Collections.EMPTY_LIST;
|
||||
}
|
||||
return alfrescoJobExecutor.getTransactionService().getRetryingTransactionHelper().doInTransaction(
|
||||
new RetryingTransactionHelper.RetryingTransactionCallback<Collection>() {
|
||||
public Collection execute() throws Throwable
|
||||
@@ -102,6 +106,10 @@ public class AlfrescoJobExecutorThread extends JobExecutorThread
|
||||
{
|
||||
return;
|
||||
}
|
||||
else if (alfrescoJobExecutor.getTransactionService().isReadOnly())
|
||||
{
|
||||
return;
|
||||
}
|
||||
alfrescoJobExecutor.getTransactionService().getRetryingTransactionHelper().doInTransaction(new TransactionJob(job));
|
||||
}
|
||||
|
||||
@@ -125,9 +133,6 @@ public class AlfrescoJobExecutorThread extends JobExecutorThread
|
||||
this.job = job;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.repo.transaction.RetryingTransactionHelper.RetryingTransactionCallback#execute()
|
||||
*/
|
||||
public Object execute() throws Throwable
|
||||
{
|
||||
AlfrescoJobExecutorThread.super.executeJob(job);
|
||||
|
Reference in New Issue
Block a user