Merged V4.1-BUG-FIX (4.1.7) to HEAD (4.2)
55265: Merged DEV to V4.1-BUG-FIX (4.1.7)
55184: MNT-6334: It's impossible to update comment for the content after version revert
- Restore association if it was removed in older document version.
- Extend unit test.
55221: MNT-6334: It's impossible to update comment for the content after version revert
- Make corrections to the code.
- Extend unit test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55326 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
55206: Branch created for 4.2.x releases.
55209: Merged HEAD to BRANCHES/V4.2:
55208: Added Sharepoint config to unit test classpath to fix VtiRequestDispatcherTest.
55222: Merged HEAD-BUG-FIX to V4.2
55220: Merged V4.1-BUG-FIX (4.1.7) to HEAD-BUG-FIX (4.2)
55218: Fix for ALF-19894 Site is not displayed after restoring from Trashcan
This bug was reported on 4.2, but the bug is also present on 4.1.
I have added a testcase to reproduce the bug along with a fix.
The problem was in SiteServiceImpl.delete where the code was writing an empty property value into the {}memberships property
and therefore there was no record of which users had been members of the deleted site.
55245: Fixed javadoc while checking that ALF-19055 was fixed. ActivityService no longer uses 'format
55246: CLOUD-2050 -Content changes are not synced from Cloud to On-Premise (errors in the logs)
55249: Hazelcast: Added ability to create cache with 'read-backup-data' via property *.readBackupData
55250: Hazelcast cache builder now accepts 'async-backup-count' value and any error in setting a value logs the full exception
55251: Asynchronous cache: Better logging of in- and after-transaction processes
55252: Asynchronous cache: Better logging of in- and after-transaction processes
55266: Workflow REST API fix for variable retrieval
55276: Merged HEAD to BRANCHES/V4.2:
55274: Disabling Sharepoint unit tests until we can make them run properly in the build.
55278: ALF-19889 - String for Brazilian Portuguese
55279: Merged DEV to 4.2
ALF-17464 : Replication jobs aren't displayed until sorting by some characteristic
- Changing not exact equals (!==) to not euqals (!=)
55280: Fix for ALF-19865 - Forgot password link redirects to Login page. Also cleaned up the mess that is the 'Sign in to Alfresco in the cloud' dialog.
55281: Probable fix for ALF-19225 Intermittent test failures in SubscriptionServiceActivitiesTest
55282: ALF-19865 - Cloud Sync profile area now looks like the rest of profile area.
55285: Merged BRANCHES/DEV/BELARUS/HEAD-2013_08_27 to BRANCHES/V4.2:
55068: ALF-19915 : MT and WebDAV: Content is lost when uploading non-empty document
55286: Merged BRANCHES/DEV/BELARUS/HEAD-2013_08_29 to BRANCHES/V4.2:
55207: ALF-19915 : MT and WebDAV: Content is lost when uploading non-empty document
55210: ALF-19915 : MT and WebDAV: Content is lost when uploading non-empty document
55297: As part of prep work for fixing ALF-20023 Recent Sites and Favorite Sites in copy/move pickers empty,
55299: ALF-19556: IE10 specific fix for file upload browse (impressive how IE finds more and more innovative ways to spoil things for itself)
55300: Fixed date issue when creating a new process instance
55308: Resync to HEAD@55302
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55309 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
54623: ALF-19234: An Editor (probably also Collaborator) can take ownership of a document (probably also folders)
- The new "ACL_ITEM" cad was implemented. Now we check TakeOwnership permission if cm:owner property is going to change when NodeService.addProperties(), NodeService.addAspect(), NodeService.setProperties(), NodeService.setProperty() methods were invoked. Also testTakeOwnershipPermission test was added to check if we can take document ownership through NodeService without appropriate permissions.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55167 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
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
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
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