mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Merged V3.3-BUG-FIX to HEAD
21530: Merged V3.3 to V3.3-BUG-FIX 21529: Merged PATCHES/V3.3.1 to V3.3 21528: Merged DEV/TEMPORARY to PATCHES/V3.3.1 21500: ALF-4039: Decoding of URI was changed to decoding its elements after tokenization. Now part of URI that contain username is decoded correctly. 21492: ALF-4039: Decoding of URI was added to DownloadContentServlet. Now all parts of URI are decoded correctly. 21496: (RECORD ONLY) Merged V3.3 to PATCHES/V3.3.1 20883: ALF-3604: Fix PersonTest 21486: (RECORD ONLY)Merged V3.3 to V3.3.1 20874: Merged HEAD to V3.3 20873: ALF-3604: Correct case-sensitivity issues in LDAP sync - User names are now brought in line with the case of the LDAP directory during sync (in case the UID attribute is case sensitive) - User names are now compared according to Alfresco's case sensitivity setting - Group name comparisions are still case sensitive 21398: (RECORD ONLY) Merged HEAD to PATCHES/V3.3.1 20724: AVMTestSuite - temporarily comment out PurgeTestP - TODO: investigate intermittent test failure 21395: (RECORD ONLY) Incremented version label 21394: (RECORD ONLY) Merged V3.3 to PATCHES/V3.1.1 21389: Add main to run index check against current repository by hand 21390: ALF-4016: Files uploaded to ts are not visible - multi-threaded tracking never abandons an index chunk - warns of long running transaction chunks - logging change 21392: ALF-4016: Files uploaded to ts are not visible - make sure FTS update exceptions can not lead to a TX commit and deletions 21510: Merged PATCHES/V3.2.1 to V3.3 21508: (RECORD ONLY) Incremented version label 21507: ALF-3779, ALF-4148: Correction to batching of node audit properties on upgrade from 2.1 and 2.2 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21531 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -802,9 +802,10 @@ UPDATE t_alf_node n SET audit_creator =
|
|||||||
WHERE
|
WHERE
|
||||||
np.node_id = n.id AND
|
np.node_id = n.id AND
|
||||||
ns.uri = 'FILLER-http://www.alfresco.org/model/content/1.0' AND
|
ns.uri = 'FILLER-http://www.alfresco.org/model/content/1.0' AND
|
||||||
qn.local_name = 'creator' AND
|
qn.local_name = 'creator'
|
||||||
n.id >= ${LOWERBOUND} AND n.id <= ${UPPERBOUND}
|
)
|
||||||
);
|
WHERE n.id >= ${LOWERBOUND} AND n.id <= ${UPPERBOUND};
|
||||||
|
|
||||||
--FOREACH t_alf_node.id system.upgrade.t_alf_node.batchsize
|
--FOREACH t_alf_node.id system.upgrade.t_alf_node.batchsize
|
||||||
UPDATE t_alf_node n SET audit_created =
|
UPDATE t_alf_node n SET audit_created =
|
||||||
(
|
(
|
||||||
@@ -817,9 +818,10 @@ UPDATE t_alf_node n SET audit_created =
|
|||||||
WHERE
|
WHERE
|
||||||
np.node_id = n.id AND
|
np.node_id = n.id AND
|
||||||
ns.uri = 'FILLER-http://www.alfresco.org/model/content/1.0' AND
|
ns.uri = 'FILLER-http://www.alfresco.org/model/content/1.0' AND
|
||||||
qn.local_name = 'created' AND
|
qn.local_name = 'created'
|
||||||
n.id >= ${LOWERBOUND} AND n.id <= ${UPPERBOUND}
|
)
|
||||||
);
|
WHERE n.id >= ${LOWERBOUND} AND n.id <= ${UPPERBOUND};
|
||||||
|
|
||||||
--FOREACH t_alf_node.id system.upgrade.t_alf_node.batchsize
|
--FOREACH t_alf_node.id system.upgrade.t_alf_node.batchsize
|
||||||
UPDATE t_alf_node n SET audit_modifier =
|
UPDATE t_alf_node n SET audit_modifier =
|
||||||
(
|
(
|
||||||
@@ -832,9 +834,10 @@ UPDATE t_alf_node n SET audit_modifier =
|
|||||||
WHERE
|
WHERE
|
||||||
np.node_id = n.id AND
|
np.node_id = n.id AND
|
||||||
ns.uri = 'FILLER-http://www.alfresco.org/model/content/1.0' AND
|
ns.uri = 'FILLER-http://www.alfresco.org/model/content/1.0' AND
|
||||||
qn.local_name = 'modifier' AND
|
qn.local_name = 'modifier'
|
||||||
n.id >= ${LOWERBOUND} AND n.id <= ${UPPERBOUND}
|
)
|
||||||
);
|
WHERE n.id >= ${LOWERBOUND} AND n.id <= ${UPPERBOUND};
|
||||||
|
|
||||||
--FOREACH t_alf_node.id system.upgrade.t_alf_node.batchsize
|
--FOREACH t_alf_node.id system.upgrade.t_alf_node.batchsize
|
||||||
UPDATE t_alf_node n SET audit_modified =
|
UPDATE t_alf_node n SET audit_modified =
|
||||||
(
|
(
|
||||||
@@ -847,9 +850,9 @@ UPDATE t_alf_node n SET audit_modified =
|
|||||||
WHERE
|
WHERE
|
||||||
np.node_id = n.id AND
|
np.node_id = n.id AND
|
||||||
ns.uri = 'FILLER-http://www.alfresco.org/model/content/1.0' AND
|
ns.uri = 'FILLER-http://www.alfresco.org/model/content/1.0' AND
|
||||||
qn.local_name = 'modified' AND
|
qn.local_name = 'modified'
|
||||||
n.id >= ${LOWERBOUND} AND n.id <= ${UPPERBOUND}
|
)
|
||||||
);
|
WHERE n.id >= ${LOWERBOUND} AND n.id <= ${UPPERBOUND};
|
||||||
-- Remove the unused cm:auditable properties
|
-- Remove the unused cm:auditable properties
|
||||||
-- SHORTCUT:
|
-- SHORTCUT:
|
||||||
-- The qname_id values can be determined up front
|
-- The qname_id values can be determined up front
|
||||||
|
@@ -514,9 +514,10 @@ UPDATE t_alf_node n SET audit_creator =
|
|||||||
WHERE
|
WHERE
|
||||||
np.node_id = n.id AND
|
np.node_id = n.id AND
|
||||||
ns.uri = 'http://www.alfresco.org/model/content/1.0' AND
|
ns.uri = 'http://www.alfresco.org/model/content/1.0' AND
|
||||||
qn.local_name = 'creator' AND
|
qn.local_name = 'creator'
|
||||||
n.id >= ${LOWERBOUND} AND n.id <= ${UPPERBOUND}
|
)
|
||||||
);
|
WHERE n.id >= ${LOWERBOUND} AND n.id <= ${UPPERBOUND};
|
||||||
|
|
||||||
--FOREACH t_alf_node.id system.upgrade.t_alf_node.batchsize
|
--FOREACH t_alf_node.id system.upgrade.t_alf_node.batchsize
|
||||||
UPDATE t_alf_node n SET audit_created =
|
UPDATE t_alf_node n SET audit_created =
|
||||||
(
|
(
|
||||||
@@ -529,9 +530,10 @@ UPDATE t_alf_node n SET audit_created =
|
|||||||
WHERE
|
WHERE
|
||||||
np.node_id = n.id AND
|
np.node_id = n.id AND
|
||||||
ns.uri = 'http://www.alfresco.org/model/content/1.0' AND
|
ns.uri = 'http://www.alfresco.org/model/content/1.0' AND
|
||||||
qn.local_name = 'created' AND
|
qn.local_name = 'created'
|
||||||
n.id >= ${LOWERBOUND} AND n.id <= ${UPPERBOUND}
|
)
|
||||||
);
|
WHERE n.id >= ${LOWERBOUND} AND n.id <= ${UPPERBOUND};
|
||||||
|
|
||||||
--FOREACH t_alf_node.id system.upgrade.t_alf_node.batchsize
|
--FOREACH t_alf_node.id system.upgrade.t_alf_node.batchsize
|
||||||
UPDATE t_alf_node n SET audit_modifier =
|
UPDATE t_alf_node n SET audit_modifier =
|
||||||
(
|
(
|
||||||
@@ -544,9 +546,10 @@ UPDATE t_alf_node n SET audit_modifier =
|
|||||||
WHERE
|
WHERE
|
||||||
np.node_id = n.id AND
|
np.node_id = n.id AND
|
||||||
ns.uri = 'http://www.alfresco.org/model/content/1.0' AND
|
ns.uri = 'http://www.alfresco.org/model/content/1.0' AND
|
||||||
qn.local_name = 'modifier' AND
|
qn.local_name = 'modifier'
|
||||||
n.id >= ${LOWERBOUND} AND n.id <= ${UPPERBOUND}
|
)
|
||||||
);
|
WHERE n.id >= ${LOWERBOUND} AND n.id <= ${UPPERBOUND};
|
||||||
|
|
||||||
--FOREACH t_alf_node.id system.upgrade.t_alf_node.batchsize
|
--FOREACH t_alf_node.id system.upgrade.t_alf_node.batchsize
|
||||||
UPDATE t_alf_node n SET audit_modified =
|
UPDATE t_alf_node n SET audit_modified =
|
||||||
(
|
(
|
||||||
@@ -559,9 +562,9 @@ UPDATE t_alf_node n SET audit_modified =
|
|||||||
WHERE
|
WHERE
|
||||||
np.node_id = n.id AND
|
np.node_id = n.id AND
|
||||||
ns.uri = 'http://www.alfresco.org/model/content/1.0' AND
|
ns.uri = 'http://www.alfresco.org/model/content/1.0' AND
|
||||||
qn.local_name = 'modified' AND
|
qn.local_name = 'modified'
|
||||||
n.id >= ${LOWERBOUND} AND n.id <= ${UPPERBOUND}
|
)
|
||||||
);
|
WHERE n.id >= ${LOWERBOUND} AND n.id <= ${UPPERBOUND};
|
||||||
-- Remove the unused cm:auditable properties
|
-- Remove the unused cm:auditable properties
|
||||||
--FOREACH t_alf_node_properties.node_id system.upgrade.t_alf_node_properties.batchsize
|
--FOREACH t_alf_node_properties.node_id system.upgrade.t_alf_node_properties.batchsize
|
||||||
DELETE t_alf_node_properties
|
DELETE t_alf_node_properties
|
||||||
|
Reference in New Issue
Block a user