diff --git a/config/alfresco/audit-services-context.xml b/config/alfresco/audit-services-context.xml index 866c5b4fa3..7246062665 100644 --- a/config/alfresco/audit-services-context.xml +++ b/config/alfresco/audit-services-context.xml @@ -59,9 +59,6 @@ ${dir.auditcontentstore} - - - diff --git a/config/alfresco/cache-context.xml b/config/alfresco/cache-context.xml index f08686bbce..5b489335a5 100644 --- a/config/alfresco/cache-context.xml +++ b/config/alfresco/cache-context.xml @@ -208,7 +208,7 @@ - + @@ -239,7 +239,7 @@ org.alfresco.cache.contentDataTransactionalCache - 1000 + 10000 diff --git a/config/alfresco/content-services-context.xml b/config/alfresco/content-services-context.xml index 8d87603842..6b14146146 100644 --- a/config/alfresco/content-services-context.xml +++ b/config/alfresco/content-services-context.xml @@ -2,14 +2,11 @@ - + ${dir.contentstore} - - - @@ -17,9 +14,6 @@ ${dir.contentstore.deleted} - - - @@ -84,9 +78,6 @@ - - - @@ -222,6 +213,7 @@ EEE, d MMM yyyy HH:mm:ss Z + EEE, d MMM yy HH:mm:ss Z @@ -391,8 +383,17 @@ - + parent="baseContentTransformer" > + + + + text/html + text/plain + + + + + diff --git a/config/alfresco/core-services-context.xml b/config/alfresco/core-services-context.xml index 23fdf8fe13..6d932ebd1a 100644 --- a/config/alfresco/core-services-context.xml +++ b/config/alfresco/core-services-context.xml @@ -969,8 +969,17 @@ + + + + + + + + 500 + - + @@ -1428,7 +1437,6 @@ - - - + + diff --git a/config/alfresco/dbscripts/upgrade/3.2/org.hibernate.dialect.MySQLInnoDBDialect/remove-AVM-issuer.sql b/config/alfresco/dbscripts/upgrade/3.2/org.hibernate.dialect.MySQLInnoDBDialect/remove-AVM-issuer.sql index 09c498e425..bdbd0354da 100644 --- a/config/alfresco/dbscripts/upgrade/3.2/org.hibernate.dialect.MySQLInnoDBDialect/remove-AVM-issuer.sql +++ b/config/alfresco/dbscripts/upgrade/3.2/org.hibernate.dialect.MySQLInnoDBDialect/remove-AVM-issuer.sql @@ -13,7 +13,7 @@ -- Enable auto-increment -- -- ----------------------------- -insert into avm_nodes +insert into avm_nodes (id, class_type, vers, version_id, guid, creator, owner, lastModifier, createDate, modDate, accessDate, is_root, store_new_id, acl_id, deletedType, layer_id, indirection, indirection_version, primary_indirection, opacity, content_url, mime_type, encoding, length) select (select max(id)+1 from avm_nodes), class_type, vers, version_id, guid, creator, owner, lastModifier, createDate, modDate, accessDate, is_root, store_new_id, acl_id, deletedType, layer_id, indirection, indirection_version, primary_indirection, opacity, content_url, mime_type, encoding, length diff --git a/config/alfresco/dbscripts/upgrade/3.2/org.hibernate.dialect.PostgreSQLDialect/remove-AVM-issuer.sql b/config/alfresco/dbscripts/upgrade/3.2/org.hibernate.dialect.PostgreSQLDialect/remove-AVM-issuer.sql index dacd1fb965..d290de5864 100644 --- a/config/alfresco/dbscripts/upgrade/3.2/org.hibernate.dialect.PostgreSQLDialect/remove-AVM-issuer.sql +++ b/config/alfresco/dbscripts/upgrade/3.2/org.hibernate.dialect.PostgreSQLDialect/remove-AVM-issuer.sql @@ -13,7 +13,7 @@ SELECT SETVAL('hibernate_sequence', GREATEST((MAX(id)+1), NEXTVAL('hibernate_sequence'))) FROM avm_nodes; -insert into avm_nodes +insert into avm_nodes (id, class_type, vers, version_id, guid, creator, owner, lastModifier, createDate, modDate, accessDate, is_root, store_new_id, acl_id, deletedType, layer_id, indirection, indirection_version, primary_indirection, opacity, content_url, mime_type, encoding, length) select (select max(id)+1 from avm_nodes), class_type, vers, version_id, guid, creator, owner, lastModifier, createDate, modDate, accessDate, is_root, store_new_id, acl_id, deletedType, layer_id, indirection, indirection_version, primary_indirection, opacity, content_url, mime_type, encoding, length diff --git a/config/alfresco/extension/index-recovery-context.xml.sample b/config/alfresco/extension/index-recovery-context.xml.sample deleted file mode 100644 index 1a9088af32..0000000000 --- a/config/alfresco/extension/index-recovery-context.xml.sample +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - org.alfresco.repo.node.index.IndexRecoveryJob - - - - - - - - ${alfresco.cluster.name} - - - - - - - - - - 0 0 21 * * ? - - - - diff --git a/config/alfresco/extension/mt/mt-contentstore-context.xml.sample b/config/alfresco/extension/mt/mt-contentstore-context.xml.sample index a67ea46342..6fc64c92ca 100644 --- a/config/alfresco/extension/mt/mt-contentstore-context.xml.sample +++ b/config/alfresco/extension/mt/mt-contentstore-context.xml.sample @@ -25,9 +25,6 @@ - - - ${dir.contentstore} diff --git a/config/alfresco/extension/use-old-dm-alcs-context.xml.sample b/config/alfresco/extension/use-old-dm-alcs-context.xml.sample new file mode 100644 index 0000000000..3d0e802b3f --- /dev/null +++ b/config/alfresco/extension/use-old-dm-alcs-context.xml.sample @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + \ No newline at end of file diff --git a/config/alfresco/hibernate-context.xml b/config/alfresco/hibernate-context.xml index 5f3e8bcac6..1293fe8ac1 100644 --- a/config/alfresco/hibernate-context.xml +++ b/config/alfresco/hibernate-context.xml @@ -277,6 +277,9 @@ + + false + diff --git a/config/alfresco/ibatis/org.hibernate.dialect.Dialect/content-common-SqlMap.xml b/config/alfresco/ibatis/org.hibernate.dialect.Dialect/content-common-SqlMap.xml index b7a5bd041d..14d84b508b 100644 --- a/config/alfresco/ibatis/org.hibernate.dialect.Dialect/content-common-SqlMap.xml +++ b/config/alfresco/ibatis/org.hibernate.dialect.Dialect/content-common-SqlMap.xml @@ -13,6 +13,7 @@ + @@ -185,25 +186,42 @@ - + + + update + alf_mimetype + set + mimetype_str = #mimetype# + where + id = #id# + + and version = (#version#-1) + + + - + update alf_content_url set orphan_time = #orphanTime# where - id = #id# + id = #id# and + orphan_time is null + orphan_time = oldOrphanTime @@ -218,17 +236,6 @@ - - - - -