64785: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (4.3/Cloud)
64131: Merged DEV to V4.2-BUG-FIX (4.2.2)
63233: MNT-10767: Guard in AuditMethodInterceptor is too restrictive preventing subordinate service calls from producing data.
- Modify AuditMethodInterceptor to audit subordinate public services
64123: MNT-10767: Guard in AuditMethodInterceptor is too restrictive preventing subordinate service calls from producing data.
- Add unit test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@66188 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
64703: Fix ACE-987: NPE in NodeEntity during post-commit write through to shared cache
- Query selecting specific root nodes was not fully populating the stored entity
- The failure itself mainly occurs when a check is made to prevent duplication of cache transfers
(the cached value is the same); once the cache has an entry, the error would not have
occurred again.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@66181 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
64105: Reverse Merge HEAD-BUG-FIX (4.3.0.BF)
<< Reverted to see if commit was reason for build failures >>
63912: Merged DEV to HEAD-BUG-FIX (4.3.0.BF)
63885: MNT-10338 : WebDav MT RepositoryAuthenticationDao.getUserFolderLocation() seems to be no tenant-safe
Implemented a JUnit test.
Fixed RepositoryAuthenticationDAO.getUserFolderLocation() to use cache keys with tenant domain and use the domain to find correct user store.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@64358 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
63912: Merged DEV to HEAD-BUG-FIX (4.3.0.BF)
63885: MNT-10338 : WebDav MT RepositoryAuthenticationDao.getUserFolderLocation() seems to be no tenant-safe
Implemented a JUnit test.
Fixed RepositoryAuthenticationDAO.getUserFolderLocation() to use cache keys with tenant domain and use the domain to find correct user store.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@64334 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
63647: Fixed ACE-290: ServiceRegistry.getRetryingTransactionHelper has been deprecated, with no public alternative
- Removed final bits of deprecation required for ACE-290
- Added test to ensure that ALF-18718 does not regress (need new instances of RetryingTransactionHelper)
- Cleaned up pointless 'Non-Javadoc', added @Override, etc
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@64303 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
63067: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
62765: MNT-10611: Merged DEV to V4.2-BUG-FIX (4.2.2)
62735: MNT-10611: Exception generated in .AccessAuditor. when audited String values bigger than 1024 characters (non-MySQL)
- Trim String and MLtext audit values to not exceed system.maximumStringLength. Add unit test for case.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@64255 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
63885: MNT-10338 : WebDav MT RepositoryAuthenticationDao.getUserFolderLocation() seems to be no tenant-safe
Implemented a JUnit test.
Fixed RepositoryAuthenticationDAO.getUserFolderLocation() to use cache keys with tenant domain and use the domain to find correct user store.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@63895 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
62920: Merged PLATFORM1 (Cloud33) to HEAD-BUG-FIX (Cloud33/4.3)
<< This was a bad merge with conflicts to do with the impl/solr directory not existing >>
62511: ACE-482: Hybrid search can be disabled/enabled and is disabled by default.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62975 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
61350: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
61114: Merged V4.1-BUG-FIX (4.1.8) to V4.2-BUG-FIX (4.2.2)
61011: Merged DEV to V4.1-BUG-FIX (4.1.8)
60967: MNT-10610: FilenameFilteringInterceptor.java readability
MNT-10561 : If a folder is renamed with 8 characters that are within A-F and 0-9, the sys:temporary aspect is applied to it
Implemented a JUnit test to simulate the issue.
Added a check for a node to be without content in FilenameFilteringInterceptor.isNameOfTmporaryObject(String, NodeRef).
Fixed code and JavaDoc formatting.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62410 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
61345: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
61071: Merged DEV to V4.2-BUG-FIX (4.2.2)
60764: MNT-10533: Calls during the beforeDeleteNode phase of a group deletion may confuse the AuthorityDaoImpl cache
- First delete authority and refresh cache only after that
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62407 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
61242: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
61241: Merged V4.1-BUG-FIX (4.1.8) to V4.2-BUG-FIX (4.2.2)
61240: MetadataExtracterLimitsTest has too short a timeout (50ms to 500ms)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62401 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
61122: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
60991: Merged DEV to V4.2-BUG-FIX
60325 : MNT-10404 : Runas problem in workflow when package contains versioned content
Added some unit tests.
60443 : MNT-10404 : Runas problem in workflow when package contains versioned content
Added tests, debug log. Run work as system user in VersionableAspect.
60452 : MNT-10404 : Runas problem in workflow when package contains versioned content
Wrap debug statements.
60492 : MNT-10404 : Runas problem in workflow when package contains versioned content
Fix if statement indents.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62387 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
61049: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
60931: Merged V4.1-BUG-FIX (4.1.8) to V4.2-BUG-FIX (4.2.2)
60806: Merged BELARUS/V4.1-BUG_FIX-2013_11_27 (4.1.8) to V4.1-BUG-FIX (4.1.8)
58341: MNT-8109: Moving a file over WebDAV changes the modification date although the file was not modified
'system.preserve.modificationData' property has been added. The property controls if the logic of auditable aspect should be executed or not.
- 'FileFolderServiceImplTest' has been fixed in accordance with changes in 'FileFolderServiceImpl';
- 'FileFolderServicePropagationTest' has been added
58456: MNT-8109: Moving a file over WebDAV changes the modification date although the file was not modified
'system.preserve.modificationData' property has been added. The property controls if the logic of auditable aspect should be executed or not. Default value has been modified to 'false'. Tests were modified appropriately to respect the default value:
- 'FileFolderServiceImplTest' has been reverted to the original state;
- 'FileFolderServicePropagationTest' has been improved to avoid further modifications if the default value is changed;
- 'FileFolderServicePropagationTest' has been added to 'ModelTestSuite';
- Getter for the 'system.preserve.modificationData' property has been added to the 'FileFolderServiceImpl'
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62381 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
61048: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
60930: Merged V4.1-BUG-FIX (4.1.8) to V4.2-BUG-FIX (4.2.2)
60804: MNT-9595: Merged DEV to V4.1-BUG-FIX (4.1.8)
57553: MNT-9595: Tag manager cannot find tags past the value of solr.query.maximumResultsFromUnlimitedQuery
- Tag queries are unlimited. Make paginator in ConsoleTagManagement to fetch data by portions for tags actually displayed.
57586: MNT-9595: Tag manager cannot find tags past the value of solr.query.maximumResultsFromUnlimitedQuery
- Do filter by tag name on SOLR side.
60643: MNT-9595: Tag manager cannot find tags past the value of solr.query.maximumResultsFromUnlimitedQuery
- Prepend wildcard to the filter to match the old contains behaviour. Add unit tests for the tag and category filtering.
60765: MNT-9595: Tag manager cannot find tags past the value of solr.query.maximumResultsFromUnlimitedQuery
- Add test for wildcard matches support.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62380 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
60938: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
60837: MNT-10333: WebDAV - Cannot save existing Alfresco Microsoft Office 2011 documents into Alfresco on Mountain Lion
- Update unit test that is failing after fix was merged to 4.2-BUG-FIX
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62374 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
60604: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
60461: MNT-9369 : Addition of the cm:versionable aspect through the Share UI sets the cm:autoVersionOnUpdateProp=true regardless of the aspect property being set to 'false' in the contentModel.xml
Fixed the security context error.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62337 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
60598: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
60375: Merged V4.1-BUG-FIX (4.1.8) to V4.2-BUG-FIX (4.2.2)
60154: Merged DEV to V4.1-BUG-FIX (4.1.8)
60062: MNT-9369 : Addition of the cm:versionable aspect through the Share UI sets the cm:autoVersionOnUpdateProp=true regardless of the aspect
property being set to 'false' in the contentModel.xml
Added loading of default properties from Dictionary for versionable aspect.
60063: MNT-9369 : Addition of the cm:versionable aspect through the Share UI sets the cm:autoVersionOnUpdateProp=true regardless of the aspect
property being set to 'false' in the contentModel.xml
Added a test to simulate the issue.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62328 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
60591: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
60358: Merged DEV to V4.2-BUG-FIX (4.2.2)
58064: Fixed use of 'nodeService' vs 'NodeService' in DiscussionServiceImplTest (MNT-9806)
58069: Fixed use of CheckOutCheckInService in StoreSelectorAspectContentStoreTest (MNT-9806)
- Fixed formatting as well
58071: Fixed transaction use around various services in SyncChangeMonitorTest (MNT-9806)
58102: Remove unused code and other warnings from SyncChangeMonitorTest
58103: Fixed transaction use around various services in SyncTrackerComponentTest (MNT-9806)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62321 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
59923: Fixes StandardQuotaStrategyTest, that was broken by changes in cache behaviour.
Non-clustered (Google Guava) caches do not use maxItems as a hard-limit any more - eviction takes place as cache size approaches the limit.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62233 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
59897: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
59791: Merged DEV to V4.2-BUG-FIX (4.2.2)
59719: MNT-10178 : BM-0012: Run v420b1527_01: Cannot find Content Reader for document RenditionServiceException
Added a check to skip the nodes without content before trying to render.
Fixed test.
59739: MNT-10178 : BM-0012: Run v420b1527_01: Cannot find Content Reader for document RenditionServiceException
Corrected mistakes in the fix r59719.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62216 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
59891: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
59686: Merged PATCHES/V4.2.1 (4.2.1) to V4.2-BUG-FIX (4.2.2)
59685 : Merged DEV to PATCHES/V4.2.1 (4.2.1)
59669 : MNT-10257 : Error during synchronization: java.lang.Integer cannot be cast to java.lang.Long
- New fix for this issue was implemented.
- Unit test was added.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62210 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
59889: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
59662: Merged V4.2.1 (4.2.1) to V4.2-BUG-FIX (4.2.2)
59613: Merged DEV to V4.2.1
59345: MNT-10267: Authority Search does not work for groups with Unicode display name
- Modify GetAuthoritiesCannedQuery to respect unicode.
59514: MNT-10267: Authority Search does not work for groups with Unicode display name
- Add unit test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62208 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
59855: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
59601: Merged DEV to V4.2-BUG-FIX
58003: Prevent QNameDAO from being used without a txn (MNT-9806)
58022: Fix bootstrap sequencing issues related to Content Publishing and Site models
- I thought I had broken something but it's one of those random bean loading issues that we don't commonly see
- Pulled models into core model lists so that we know and understand the ordering of the model loading
- Removed QNameDAO transaction check, just in case (will reapply it with subsequent commit)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62193 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
59851: Merged BRANCHES/DEV/mward/head_bf_gdata_upgd to BRANCHES/DEV/HEAD-BUG-FIX (local cache improvements):
59586: DefaultSimpleCache max size is Integer.MAX_VALUE when configured with maxItems of 0.
59590: maxItems for DefaultSimpleCache is now an optional feature.
59592: non-clustered caches will not use size-based eviction when {cacheName}.eviction-policy=NONE, to match clustered caches.
59594: Added TTL to DefaultSimpleCache - not yet configurable through the factory.
59602: DefaultCacheFactory can create caches with a time-to-live setting enabled.
59620: Organise imports for DefaultSimpleCache
59622: DefaultSimpleCache: changed field name from map to cache, as this makes more sense with changing to use of CacheBuilder.
59627: Added maxIdleSecs property to DefaultSimpleCache - not yet configurable from the cache factory.
59629: DefaultCacheFactory now supports maxIdleSeconds property for configuring non-clustered caches.
59633: Updated description of supported non-clustered cache properties in caches.properties
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62192 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
59850: Merged BRANCHES/DEV/mward/head_bf_gdata_upgd to BRANCHES/DEV/HEAD-BUG-FIX (upgrade gdata libs):
59515: Removed gdata-1.45.0 libraries.
59516: Removed concurrentlinkedhashmap-lru-1.2 library.
59518: Added gdata-1.47.1 library JARs (dependencies to follow)
59521: Added gdata-1.47.1 dependencies (guava-11.0.2 and JSR-305)
59524: Updated ant build files to use gdata-1.47.1
59528: Removed outdated gdata-1.45.0 src zip.
59530: Added gdata-1.47.1 src zip
59531: Update eclipse .classpath with gdata 1.47.1 libraries
59532: Exported new gdata-1.47.1 and guava-11 libs from 3rd party project
59559: Fix DefaultSimpleCache to use a Guava Cache, replacing ConcurrentLinkedHashMap usage.
59568: Reverted r59516: concurrentlinkedhashmap lib is required by Surf.
59572: Replaced use of google-collections with guava in repository's pom.xml
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62191 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
59746: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
59561: Merged DEV to V4.2-BUG-FIX (4.2.1)
59104: MNT-10197 : Intermittent test failure: RenditionServicePermissionsTest.userWithoutDeleteAccessTo(etc)
Implemented a retry mechanism to solve the intermittent test failures.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62185 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
59278: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3)
59275: MNT-10109 (and MNT-10237): Permissions are not restored when a deleted site is recovered from the trashcan
Fix InvitationCleanupTest failure by purging archived test site from trashcan so that sitename can be reused
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62128 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
59269: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3)
59268: Merged V4.1-BUG-FIX (4.1.8) to V4.2-BUG-FIX (4.2.1)
59264: MNT-10237: Merged V4.1.6 (4.1.6.4) to V4.1-BUG-FIX (4.1.8) AGAIN!
58707: MNT-10109: Merged DEV to PATCHES/V4.1.6 (4.1.6.4)
58676: MNT-10109: Permissions are not restored when a deleted site is recovered from the trashcan
- Delete associated groups on callback when archived site is purged. Add unit test for case.
58895: MNT-10109: Merged DEV to PATCHES/V4.1.6 (4.1.6.4)
58855: MNT-10109: Permissions are not restored when a deleted site is recovered from the trashcan
- Fix unit tests failure by purging archived sites. Forbid new site creation if site group already exists.
58871: MNT-10109: Permissions are not restored when a deleted site is recovered from the trashcan
- Return beforePurgeNode callback binding to Site class.
58947: MNT-10109: PATCHES/V4.1.6 (4.1.6.4)
58946: MNT-10109: Permissions are not restored when a deleted site is recovered from the trashcan
- Fix test failures by purging deleted sites from trashcan so that sitename can be reused. Change SiteServiceImplTest to avoid database deadlock.
58949: MNT-10109: PATCHES/V4.1.6 (4.1.6.4)
58948: MNT-10109: Permissions are not restored when a deleted site is recovered from the trashcan
- Fix test failures by purging deleted sites from trashcan so that sitename can be reused.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62125 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
59267: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (4.3/Cloud)
59266: Reverse Merge attempt at merging from V4.1-BUG-FIX (will do it again)
AND record only merge the original commits 59231,59239 and reverse merge 59262 that took place on V4.1-BUG-FIX
59237: Merged V4.1-BUG-FIX (4.1.8) to V4.2-BUG-FIX (4.2.1)
59231: MNT-10237: Merged V4.1.6 (4.1.6.4) to V4.1-BUG-FIX (4.1.8)
58895: MNT-10109: Merged DEV to PATCHES/V4.1.6 (4.1.6.4)
58855: MNT-10109: Permissions are not restored when a deleted site is recovered from the trashcan
- Fix unit tests failure by purging archived sites. Forbid new site creation if site group already exists.
58871: MNT-10109: Permissions are not restored when a deleted site is recovered from the trashcan
- Return beforePurgeNode callback binding to Site class.
58947: MNT-10109: PATCHES/V4.1.6 (4.1.6.4)
58946: MNT-10109: Permissions are not restored when a deleted site is recovered from the trashcan
- Fix test failures by purging deleted sites from trashcan so that sitename can be reused. Change SiteServiceImplTest to avoid database deadlock.
58949: MNT-10109: PATCHES/V4.1.6 (4.1.6.4)
58948: MNT-10109: Permissions are not restored when a deleted site is recovered from the trashcan
- Fix test failures by purging deleted sites from trashcan so that sitename can be reused.
59240: Merged V4.1-BUG-FIX (4.1.8) to V4.2-BUG-FIX (4.2.1)
59239: MNT-10237: Permissions are not restored when a deleted site is recovered from the trashcan
- The merge of the HF commit on 4.1.6 removed a variable that was not being used, but
was being used in later versions.
59241: MNT-10237: Permissions are not restored when a deleted site is recovered from the trashcan
- Correct error in merge from V4.1-BUG-FIX to V4.2-BUG-FIX
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62124 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
59259: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3)
59241: MNT-10237: Permissions are not restored when a deleted site is recovered from the trashcan
- Correct error in merge from V4.1-BUG-FIX to V4.2-BUG-FIX
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62123 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261