mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
RM-1771 (SOLR dependent integration tests failing)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@90205 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -129,6 +129,9 @@ public class PublishUpdatesJobExecuter extends RecordsManagementJobExecuter
|
|||||||
for (NodeRef nodeRef : nodeRefs)
|
for (NodeRef nodeRef : nodeRefs)
|
||||||
{
|
{
|
||||||
if (nodeService.exists(nodeRef))
|
if (nodeService.exists(nodeRef))
|
||||||
|
{
|
||||||
|
boolean publishing = ((Boolean)nodeService.getProperty(nodeRef, PROP_PUBLISH_IN_PROGRESS)).booleanValue();
|
||||||
|
if (!publishing)
|
||||||
{
|
{
|
||||||
// Mark the update node as publishing in progress
|
// Mark the update node as publishing in progress
|
||||||
markPublishInProgress(nodeRef);
|
markPublishInProgress(nodeRef);
|
||||||
@@ -164,6 +167,7 @@ public class PublishUpdatesJobExecuter extends RecordsManagementJobExecuter
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return null;
|
return null;
|
||||||
};
|
};
|
||||||
}, AuthenticationUtil.getSystemUserName());
|
}, AuthenticationUtil.getSystemUserName());
|
||||||
@@ -290,7 +294,7 @@ public class PublishUpdatesJobExecuter extends RecordsManagementJobExecuter
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
retryingTransactionHelper.doInTransaction(execution, false, true);
|
retryingTransactionHelper.doInTransaction(execution);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -1 +0,0 @@
|
|||||||
index.subsystem.name=buildonly
|
|
@@ -218,13 +218,20 @@
|
|||||||
</property>
|
</property>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<bean id="testPlaceholderConfigurer" class="org.springframework.context.support.PropertySourcesPlaceholderConfigurer">
|
<bean id="Search" class="org.alfresco.repo.management.subsystems.SwitchableApplicationContextFactory" parent="abstractPropertyBackedBean">
|
||||||
<property name="locations">
|
<property name="autoStart">
|
||||||
|
<value>false</value>
|
||||||
|
</property>
|
||||||
|
<property name="category">
|
||||||
|
<value>Search</value>
|
||||||
|
</property>
|
||||||
|
<property name="sourceBeanName">
|
||||||
|
<value>buildonly</value>
|
||||||
|
</property>
|
||||||
|
<property name="instancePath">
|
||||||
<list>
|
<list>
|
||||||
<value>classpath:alfresco-global-test.properties</value>
|
<value>manager</value>
|
||||||
</list>
|
</list>
|
||||||
</property>
|
</property>
|
||||||
<property name="ignoreUnresolvablePlaceholders" value="true" />
|
|
||||||
<property name="order" value="-1" />
|
|
||||||
</bean>
|
</bean>
|
||||||
</beans>
|
</beans>
|
Reference in New Issue
Block a user