mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
36744: Fix for ALF-14227: "Bulk Filesystem In-place Import Tool: 'Replace existing files' option is not working - it is enabled when the check-box was unchecked" 36745: Fix for ALF-13355: "CMIS: Error occurs trying to delete a multilingual document" 36763: ALF-14226: User with '@' symbol in username cannot login - note: related to ALF-13755 36795: Merged V4.0 to V4.0-BUG-FIX 36779: ALF-14237 Upgrades from 4.0.0.x/4..0.1.0 will not fix the timestamps on acl changesets - SOLR will skip ACLs set prior to upgrade 36794: ALF-14094: Correction to from address generation for invitation reject email 36796: Merged V4.0 to V4.0-BUG-FIX (RECORD ONLY) 36765: Merged V4.0-BUG-FIX to V4.0 36763: ALF-14226: User with '@' symbol in username cannot login - note: related to ALF-13755 36797: Merged V3.4-BUG-FIX to V4.0-BUG-FIX 36773: Merged DEV to V3.4-BUG-FIX (with improvements) 36739: ALF-11835 : Authentication chain should be validated The existence of a subsystem in a chain is validated by a check for presence of the corresponding resources. 36784: ALF-10181 Missing files from enterprise SDK - Added missing Enterprise Config 36793: (RECORD ONLY) ALF-12776: Correction to from address generation for invitation reject email git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@36799 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
31 lines
1.1 KiB
SQL
31 lines
1.1 KiB
SQL
--
|
|
-- Title: Set ACL change set timestamps to sensible values after previous incorrect update
|
|
-- Database: Generic
|
|
-- Since: V4.0 Schema 5033
|
|
-- Author: Andy Hind
|
|
--
|
|
-- Please contact support@alfresco.com if you need assistance with the upgrade.
|
|
--
|
|
|
|
-- Migrate data
|
|
--FOREACH alf_acl_change_set.id system.upgrade.alf_acl_change_set.batchsize
|
|
UPDATE alf_acl_change_set
|
|
SET
|
|
commit_time_ms = (select min(t.commit_time_ms) from alf_transaction t)
|
|
WHERE
|
|
id >= ${LOWERBOUND} AND id <= ${UPPERBOUND}
|
|
AND commit_time_ms < (select min(t.commit_time_ms) from alf_transaction t)
|
|
;
|
|
|
|
|
|
--
|
|
-- Record script finish
|
|
--
|
|
DELETE FROM alf_applied_patch WHERE id = 'patch.db-V4.0-AclChangeSet2';
|
|
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-V4.0-AclChangeSet2', 'Manually executed script upgrade V4.0: Set ACL change set timestamps to sensible values after previous incorrect update',
|
|
0, 6008, -1, 6009, null, 'UNKNOWN', ${TRUE}, ${TRUE}, 'Script completed'
|
|
); |