52797: Fixed ALF-19301 (CLOUD-1685): Unsafe usage of transactions around authenticationCache
54967: Fix test after changes for ALF-19301: Unsafe usage of transactions around authenticationCache
Merge: Note that the test changes were applied by using 'patch' because of the file relocation
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55090 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
55059: Fix Build: Reverse Merged
<< Think issue is just from 55012, but not taking the chance. Left the wrong commit r54935 on HEAD-BUG-FIX. I misread 54935 as 54635 >>
55006: Merged HEAD-BUG-FIX to HEAD (4.2)
54919: MNT-9571: Merged V4.1-BUG-FIX (4.1.7) to HEAD-BUG-FIX (4.2)
54377: MNT-9090 "CMIS: Integer overflow in properties": checks for overflow + tests
55012: Merged HEAD-BUG-FIX to HEAD (4.2)
54933: MNT-9574: Merged V4.1-BUG-FIX (4.1.7) to HEAD-BUG-FIX (4.2)
54635: Merged DEV to HEAD-QA (4.1.N)
MNT-9089 : CMIS: Missing boundaries for integer and long values
- Adding default constrains for Integer and Long CMIS PropertyDefinitions. Adding Test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55079 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
<< Think issue is just from 55012, but not taking the chance. Left the wrong commit r54935 on HEAD-BUG-FIX. I misread 54935 as 54635 >>
55006: Merged HEAD-BUG-FIX to HEAD (4.2)
54919: MNT-9571: Merged V4.1-BUG-FIX (4.1.7) to HEAD-BUG-FIX (4.2)
54377: MNT-9090 "CMIS: Integer overflow in properties": checks for overflow + tests
55012: Merged HEAD-BUG-FIX to HEAD (4.2)
54933: MNT-9574: Merged V4.1-BUG-FIX (4.1.7) to HEAD-BUG-FIX (4.2)
54635: Merged DEV to HEAD-QA (4.1.N)
MNT-9089 : CMIS: Missing boundaries for integer and long values
- Adding default constrains for Integer and Long CMIS PropertyDefinitions. Adding Test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55059 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
54964: Reverse merged as it cause a compilation error. Config structures have chnaged between 4.1 and 4.2
54931: MNT-9576: Merged V4.1-BUG-FIX (4.1.7) to HEAD-BUG-FIX (4.2)
54563: MNT-9461 - CIFS Clustering not Working in alfresco 4.1.5
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55017 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
54938: MNT-9570: Merged V4.1-BUG-FIX (4.1.7) to HEAD-BUG-FIX (4.2)
54855: Merged DEV to V4.1-BUG-FIX (4.1.7)
MNT-9538 : Upgrade changes cm:modified data for nodes in a workflow
- Disabling/enabling auditable behavior around the FixBpmPackagesPatch patch
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55016 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
54937: MNT-9570: Merged V4.1-BUG-FIX (4.1.7) to HEAD-BUG-FIX (4.2)
54848: Merged DEV to V4.1-BUG-FIX (4.1.7)
MNT-9538 : Upgrade changes cm:modified data for nodes in a workflow
- Disabling/enabling auditable behavior around the FixBpmPackagesPatch patch
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55015 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
54373: MNT-2641 : User can delete or move a working copy
54469: Compilation fix for MNT-2641 test
54470: Removed thousands of tabs
54523: Fixed ALF-19843: Integrity checking does not enforce mandatory aspects on aspects
54525: Pull IntegrityChecker properties into property file (ALF-19843)
54527: Fixed Eclipse warning about potentially unclosed file
54528: Prevent cm:workingcopy aspect from being removed directly (MNT-2641)
54529: Nail down behaviour around cm:workingcopy
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@54798 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
54568: Merged V4.1-BUG-FIX (4.1.7) to HEAD-BUG-FIX (4.2.0)
54471: Fix MNT-9517: Deadlock when binding class behaviours during bootstrap AND starting subsystems
54471: Fix MNT-9517: Deadlock when binding class behaviours during bootstrap AND starting subsystems
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@54747 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
54638: As part of work investigating ALF-19783 I have created a test case. I'm checking this in on 4.1 bugfix (where the issue is not reported)
Merged BRANCHES/DEV/V4.1-BUG-FIX to HEAD:
54640: (RECORD ONLY) (Part of prep work for ALF-19783) Moving a test class to the correct source tree.
Note that in doing the record-only merge above, the file ScriptNodeTest had been created on V4.1-BUG-FIX *and* on HEAD independently.
So I got a tree conflict in merging 54640 to HEAD as this attempted to svn mv ScriptNodeTest on top of HEAD's existing copy of that file.
So instead, I manually resolved the conflict by merging the two files.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@54646 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- This maintains binary compatibility with extensions build before 4.2
- e.g. GOOGLEDOCS-235 Unable to deploy latest Google Docs Enterprise AMPs onto 4.2 (HEAD-QA)
- Reversed ALF-19217: NodeService and CopyService APIs return modified flags
We are back to creating redundant versions when duplicate changes are made to data
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@54488 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
51932: Merged DEV to PATCHES/V4.1.5 (4.1.5)
51931: MNT-9145 : "Review" link for assigned to User task is absent in Parallel Review and Approve (Activiti)
- Allow user from same parallel review workflow to see tasks assigned to other users.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@53834 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
52339: Started diagnostic playing with ALF-19225: Intermittent test failures in SubscriptionServiceActivitiesTest
- Use unique user names ... there are enough "bob" users doing things in tests already
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@52349 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
52250: ALF-19207: MT module startup does not work
- Any attempt to force modules to start for all tenants will be met with an UnsupportedOperationException
- Any fix will have to be part of ALF-18954
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@52291 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
52232: Introduce filter to select only enabled tenants (ALF-19172)
52233: Missed file for rev 52232 (ALF-19172)
52246: MT: Make lowercasing of tenant domain a little more explicit
52247: MT: Clean up imports, redundant non-Javadoc and add @Override
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@52288 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
52184: ALF-19172: MT: Remove checkTenantEnabled for every call to getCurrentUserDomain
- It is quite possible (especially in tests) for a user to be running a tenant context
against a tenant that has been disabled or deleted.
- It seems that the check for tenancy status should be done at a high level i.e. as part of security checks
or when actually switching into the tenant context
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@52286 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
52182: MT: Remove some unused code and add @Override for DAO methods
52183: ALF-19172: Disable sys:undeletable aspect while deleting test's tenants
52274: Allow post-test tenant deletion by implementing hacks against ALF-19155
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@52284 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This fix addresses the creation of 'ghost tasks' - or more correctly, the failure to properly clean up ghost tasks.
There was already code to automatically delete invitation tasks when a site was deleted, but it was no longer working and had no test coverage.
This checkin adds a test case for this issue and also fixes it.
I also added & improved logging in various places.
The bug was in ActionExecuterAbstractBase, where an action run on a non-existent, but non-null, NodeRef was considered to be run on a locked node and hence not run.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@52158 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
51998: Deleting a store is now functionally the same as deleting a node but without any option of archival
- ALF-19153: CLOUD-1685, CLOUD-1827 and CLOUD-1828
- While cleaning Cloud test data tenants are deleted, which leads to their stores being deleted.
- NodeService.deleteStore was not firing policies for every node in the store; several bits of pre- and
post-delete code were therefore not being called, which lead to secondary data (caches, attributes, etc)
being left lying around.
- A side effect of this fix was that the sys:undeletable aspect has to be disabled during account deletion
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@52007 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
51987: Nodes that have been moved to deleted stores (protocol='deleted') now report themselves as deleted
- This change is not part of any fixes but is a correction to logic anyway
- CLOUD-1685, CLOUD-1827 and CLOUD-1828
51990: Post-commit cache checks after definitive locking
51991: Added toString() method to user cache entries for useful debugging (CLOUD-1685, CLOUD-1827 and CLOUD-1828)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@52005 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261