mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Merged V2.1 to HEAD
6467, 6468: Patch to remove submitted aspect data Resolved conflicted state of 'root\projects\repository\config\alfresco\version.properties' Resolved conflicted state of 'root\projects\repository\config\alfresco\patch\patch-services-context.xml' Version number to 104 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6738 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -56,6 +56,7 @@
|
||||
<ref bean="patch.db-V2.1-JBPMData" />
|
||||
<ref bean="patch.db-V2.1-VersionColumns2" />
|
||||
<ref bean="patch.db-V2.1-JBPMProcessKey" />
|
||||
<ref bean="patch.db-V2.1-RemoveWcmSubmittedAspect" />
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
@@ -0,0 +1,27 @@
|
||||
--
|
||||
-- Title: Remove wcmwf:submitted Aspect
|
||||
-- Database: Generic
|
||||
-- Since: V2.1 Schema 73
|
||||
-- Author: Derek Hulley
|
||||
--
|
||||
-- Please contact support@alfresco.com if you need assistance with the upgrade.
|
||||
--
|
||||
-- This removes the wcmwf:submitted aspect along with the wcmwf:workflowInstanceId property
|
||||
-- from the AVM nodes
|
||||
|
||||
DELETE FROM avm_aspects WHERE qname = '{http://www.alfresco.org/model/wcmworkflow/1.0}submitted';
|
||||
DELETE FROM avm_aspects_new WHERE name = '{http://www.alfresco.org/model/wcmworkflow/1.0}submitted';
|
||||
DELETE FROM avm_node_properties WHERE qname = '{http://www.alfresco.org/model/wcmworkflow/1.0}workflowInstanceId';
|
||||
DELETE FROM avm_node_properties_new WHERE qname = '{http://www.alfresco.org/model/wcmworkflow/1.0}workflowInstanceId';
|
||||
|
||||
--
|
||||
-- Record script finish
|
||||
--
|
||||
DELETE FROM alf_applied_patch WHERE id = 'patch.db-V2.1-RemoveWcmSubmittedAspect';
|
||||
INSERT INTO alf_applied_patch
|
||||
(id, description, fixes_from_schema, fixes_to_schema, applied_to_schema, target_schema, applied_on_date, applied_to_server, was_executed, succeeded, report)
|
||||
VALUES
|
||||
(
|
||||
'patch.db-V2.1-RemoveWcmSubmittedAspect', 'Manually executed script upgrade V2.1: Remove wcmwf:submitted aspect',
|
||||
0, 72, -1, 73, null, 'UNKOWN', 1, 1, 'Script completed'
|
||||
);
|
@@ -0,0 +1,28 @@
|
||||
--
|
||||
-- Title: Remove wcmwf:submitted Aspect
|
||||
-- Database: PostgreSQL
|
||||
-- Since: V2.1 Schema 73
|
||||
-- Author: Derek Hulley
|
||||
--
|
||||
-- Please contact support@alfresco.com if you need assistance with the upgrade.
|
||||
--
|
||||
-- This removes the wcmwf:submitted aspect along with the wcmwf:workflowInstanceId property
|
||||
-- from the AVM nodes.
|
||||
-- PostgreSQL requires TRUE for boolean values.
|
||||
|
||||
DELETE FROM avm_aspects WHERE qname = '{http://www.alfresco.org/model/wcmworkflow/1.0}submitted';
|
||||
DELETE FROM avm_aspects_new WHERE name = '{http://www.alfresco.org/model/wcmworkflow/1.0}submitted';
|
||||
DELETE FROM avm_node_properties WHERE qname = '{http://www.alfresco.org/model/wcmworkflow/1.0}workflowInstanceId';
|
||||
DELETE FROM avm_node_properties_new WHERE qname = '{http://www.alfresco.org/model/wcmworkflow/1.0}workflowInstanceId';
|
||||
|
||||
--
|
||||
-- Record script finish
|
||||
--
|
||||
DELETE FROM alf_applied_patch WHERE id = 'patch.db-V2.1-RemoveWcmSubmittedAspect';
|
||||
INSERT INTO alf_applied_patch
|
||||
(id, description, fixes_from_schema, fixes_to_schema, applied_to_schema, target_schema, applied_on_date, applied_to_server, was_executed, succeeded, report)
|
||||
VALUES
|
||||
(
|
||||
'patch.db-V2.1-RemoveWcmSubmittedAspect', 'Manually executed script upgrade V2.1: Remove wcmwf:submitted aspect',
|
||||
0, 72, -1, 73, null, 'UNKOWN', TRUE, TRUE, 'Script completed'
|
||||
);
|
@@ -908,6 +908,7 @@
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<<<<<<< .working
|
||||
<bean id="patch.customModels" class="org.alfresco.repo.admin.patch.impl.GenericBootstrapPatch" parent="basePatch" >
|
||||
<property name="id"><value>patch.customModels</value></property>
|
||||
<property name="description"><value>patch.customModels.description</value></property>
|
||||
@@ -989,4 +990,15 @@
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="patch.db-V2.1-RemoveWcmSubmittedAspect" class="org.alfresco.repo.admin.patch.impl.SchemaUpgradeScriptPatch" parent="basePatch">
|
||||
<property name="id"><value>patch.db-V2.1-RemoveWcmSubmittedAspect</value></property>
|
||||
<property name="description"><value>patch.schemaUpgradeScript.description</value></property>
|
||||
<property name="fixesFromSchema"><value>0</value></property>
|
||||
<property name="fixesToSchema"><value>103</value></property>
|
||||
<property name="targetSchema"><value>104</value></property>
|
||||
<property name="scriptUrl">
|
||||
<value>classpath:alfresco/dbscripts/upgrade/2.1/${db.script.dialect}/AlfrescoSchemaUpdate-2.1-RemoveWcmSubmittedAspect.sql</value>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
</beans>
|
||||
|
@@ -19,4 +19,4 @@ version.build=@build-number@
|
||||
|
||||
# Schema number
|
||||
|
||||
version.schema=103
|
||||
version.schema=104
|
||||
|
@@ -285,16 +285,6 @@
|
||||
</properties>
|
||||
</aspect>
|
||||
|
||||
<aspect name="wcmwf:submitted">
|
||||
<properties>
|
||||
<property name="wcmwf:workflowInstanceId">
|
||||
<title>Workflow Instance Id</title>
|
||||
<type>d:text</type>
|
||||
<mandatory>true</mandatory>
|
||||
</property>
|
||||
</properties>
|
||||
</aspect>
|
||||
|
||||
</aspects>
|
||||
|
||||
</model>
|
Reference in New Issue
Block a user