70226: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
70137: Reverse Merge V4.2-BUG-FIX (4.2.3)
<< Commit appears to have resulted in lots of build errors. Not obvious why. >>
70056: Merged DEV to V4.2-BUG-FIX (4.2.3)
69689 : MNT-10946 : Admin is no longer able to unlock files
- Check if node is locked for non-admin users. Fix related test
69751 : MNT-10946 : Admin is no longer able to unlock files
- Changed warn message
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70491 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
70223: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
70056: Merged DEV to V4.2-BUG-FIX (4.2.3)
69689 : MNT-10946 : Admin is no longer able to unlock files
- Check if node is locked for non-admin users. Fix related test
69751 : MNT-10946 : Admin is no longer able to unlock files
- Changed warn message
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70488 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
69952: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
69917: Merged V4.1-BUG-FIX (4.1.9) to V4.2-BUG-FIX (4.2.3)
69831: MNT-11192: TestModel.java removed from alfresco-repository-xxx.jar
- moved TestModel.java back from **/test-java/** to **/java/**
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70468 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
69949: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
69867: Fix handling of non-propagating transactions embedded in write transactions that have been forced writable (MNT-11310)
- Test to demonstrate the failure
- Regardless of whether a RetryingTransactionHelper was going to create a new transaction (non-propagating) or not,
it did a sanity check of its read-write state against the desired state. This was kicking things out for cases
where the RetryingTransactionInterceptor should just have been going along with the current transaction.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70465 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
69767: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
69723: MNT-11123 : Test failure in TestEnterpriseAtomPubTCK
Added code which check status of node (it has private working copy).
Merged DEV to 4.2-BUG-FIX
67109 : MNT-11123 : Test failure in TestEnterpriseAtomPubTCK
Fixed RenditionServiceIntegrationTest.testRenderPdfDocumentLongRunningCheckout test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70450 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
69765: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
69685: Merged V4.1-BUG-FIX (4.1.9) to V4.2-BUG-FIX (4.2.3)
68638: Merged DEV to V4.1-BUG-FIX (4.1.9)
68070 : MNT-11289 : Sites deleted in 2013 cannot be restored in 2014
- Recreate groups when a site is restored on condition that the groups are missing. Make current user site manager if there is no site managers. Fix related test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70448 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
68537: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
68315: Merged V4.1-BUG-FIX (4.1.9) to V4.2-BUG-FIX (4.2.3)
68280: MNT-11348: Merged V4.1.1 (4.1.1.28) to V4.1-BUG-FIX (4.1.9)
Try to fix build error - Mark did a refactor in Oct 2012 r42384+r42430
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70419 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
68535: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
68313: Merged V4.1-BUG-FIX (4.1.9) to V4.2-BUG-FIX (4.2.3)
68271: MNT-11348: Merged V4.1.1 (4.1.1.28) to V4.1-BUG-FIX (4.1.9)
67447: MNT-11057: Bug in replication process on Aliens.
Ignore a node that has no invadedBy property value (has no alien aspect).
Implemented unit-test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70415 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
68525: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
68281: MNT-11350: Upgrade of Tika to 1.6-SNAPSHOT
- Upgraded patched Tika, patched PDFBox, and other dependencies
- Added a MediaTypeDisablingDocumentSelector to disable parsing of certain embedded attachments
- Added TikaPoweredMetadataExtracter.buildParseContext method which sets the context's DocumentSelector if specified
- Added setting of DocumentSelector if specified to TikaPoweredContentTransformer
- Added MediaTypeDisablingDocumentSelector to the transformer.PdfBox bean config which disables parsing of embedded images
- Updated PdfBoxContentTransformerTest to disable the parsing of embedded images
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70407 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
70016: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
70015: Merged V4.1-BUG-FIX (4.1.9) to V4.2-BUG-FIX (4.2.3)
70014: MNT-11437: Merged V4.1.5 (4.1.5.14) to V4.1-BUG-FIX (4.1.9)
70009: Revised fix for MNT-11107 Documents uploaded by another user are not filtered via tags in My Files
Fix for MNT-11427 Impossible to start reindex process for bm-0010 and bm-0013 tests: api/solr/aclchangesets return status:502
- test fixes and maintain order
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70017 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
68227: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
68017: Merged V4.1-BUG-FIX (4.1.9) to V4.2-BUG-FIX (4.2.3)
68002: Merged V4.1.5 (4.1.5.13) to V4.1-BUG-FIX (4.1.9)
67573: MNT-11107: Merged DEV to PATCHES/V4.1.5 (4.1.5.13)
66906: MNT-11107: Documents uploaded by another user are not filtered via tags in My Files
- For SolrDAO.getAcls select ACLs that are directly related to nodes or their defining acl is related to a node. Add the regression test.
67575: MNT-11055: Merged DEV to PATCHES/V4.1.5 (4.1.5.13)
57903: MNT-9964: DB2 unit tests failing
- Move 'exists' subquery from 'join on' to 'where' clause
67658: MNT-11107: Documents uploaded by another user are not filtered via tags in My Files
For ChangeSets Summary select also take into account ACLs that have defining ACL related to a node.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@68475 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
68226: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
68000: MNT-11015: Content indexing doesn't have transformation failover implementation
- Failed unit test is fixed.
- quick-differentMimetype.docx MIME type is changes from "application/msword" to "application/pdf"
- If required transformer isn't found the more detailed message will be displayed into AssertionFailedError.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@68474 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
68159: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
67866: MNT-11072 : Auditing not logging when system is on read only mode
Fixed audit to be recorded on a read-only system.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@68441 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
68121: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
67187: MNT-10169 : Sort order by name is not always correct when the file name has alphanumeric characters
- Fix for GetChildrenCannedQueryTest failure
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@68406 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
68116: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
67126: Merged DEV to V4.2-BUG-FIX (4.2.3)
66872 : MNT-10169 : Sort order by name is not always correct when the file name has alphanumeric characters
- Overwrite RuleBasedCollator rules to consider space-character. Fix related test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@68404 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
68111: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
65926: MNT-10021: Merged DEV to V4.2-BUG-FIX
58137: MNT-10021: CMIS 1.0 aspect properties only provide propertyDefinitionId
- Fields displayName, localName, queryName added into response
61316: MNT-10021: CMIS 1.0 aspect properties only provide propertyDefinitionId
- Add unit test for case
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@68399 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
67750: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
66138: Merged DEV to V4.2-BUG-FIX (4.2.2)
66134: MNT-10874 : If userA's email address is used as userB's username then the userA cannot be invited to a Share site by a non-admin user
Added a JUnit test to simulate the issue.
64109: MNT-10874 : If userA's email address is used as userB's username then the userA cannot be invited to a Share site by a non-admin user
Fixed MailActionExecuter to use system user to retrieve user's locale.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@68385 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
67736: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
65943: MNT-10807 : Auditing does not take into account audit.filter.alfresco-access.transaction.user
Fixed some unit tests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@68375 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
67735: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
65767: Merged DEV to V4.2-BUG-FIX
65559 : MNT-10807 : Auditing does not take into account audit.filter.alfresco-access.transaction.user
Added UserAuditFilter class, inject an instance into AuditComponentImpl. Added unit test.
65671 : MNT-10807 : Auditing does not take into account audit.filter.alfresco-access.transaction.user
Fixed some code problem. Reverted test from AuditComponentTest and created new UserAuditFilterTest.
65754 : MNT-10807 : Auditing does not take into account audit.filter.alfresco-access.transaction.user
Included 'UserAuditFilterTest' test in a test suite.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@68374 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
65909: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (4.3/Cloud)
65721: Merged DEV to V4.2-BUG-FIX (4.2.2)
65714 : MNT-8804 : CMIS and WebScript inconsistent behavior with corrupt indexes
- Test for the fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@66280 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
65738: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (4.3/Cloud)
65639: Merged DEV to V4.2-BUG-FIX (4.2.2)
65624 : MNT-10477 : Lock on document being edited online persists when updating name of document
- LockableAspectInterceptor checks for EPHEMERAL locks if they exists. Fix related test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@66268 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
65422: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (4.3/Cloud)
65044: Merged DEV to V4.2-BUG-FIX (4.2.2)
65027 : MNT-10969 : FormService doesn't allow empty value in multivalued field
- Multivalue properties may now contain empty values.
- Unit test added.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@66234 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
64842: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (4.3/Cloud)
64809: MNT-10868 CMIS: Incorrect value of Latest Major version on Versions and Properties tabs.
Fix for merge r64768.
- In CMISTest in testIsLatestMajorVersionMNT10868 test was added context variable.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@66203 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
64838: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (4.3/Cloud)
64768: Merged V4.1-BUG-FIX (4.1.9) to V4.2-BUG-FIX (4.2.2)
64759: Merged V4.1.8 (4.1.8) to V4.1-BUG-FIX (4.1.9)
64700: MNT-10868: Merged DEV to PATCHES/V4.1.8.
63876: MNT-10868 CMIS: Incorrect value of Latest Major version on Versions and Properties tabs.
- Fixed the isLatestMajorVersion() implementation to return false if the version of the doc is minor.
64372: MNT-10868 CMIS: Incorrect value of Latest Major version on Versions and Properties tabs.
- In CMISTest was added testIsLatestMajorVersion test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@66199 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
64835: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (4.3/Cloud)
64763: Merged V4.1-BUG-FIX (4.1.9) to V4.2-BUG-FIX (4.2.2)
64693: Merged V4.1.8 (4.1.8) to V4.1-BUG-FIX (4.1.9)
64175: Merged DEV to 4.1.8
64114: MNT-10796: Incorrect search result when content is deleted.
- DBNodeServiceImpl#deleteNode() was updated that will delete a node entry from an index. Requires retest of MNT-3337 and MNT-8485.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@66196 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
64787: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (4.3/Cloud)
64256: MNT-10767: Guard in AuditMethodInterceptor is too restrictive preventing subordinate service calls from producing data.
- Fix unit test failing.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@66190 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
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
64097: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (4.3.0.BF)
63991: Merged DEV to V4.2-BUG-FIX (4.2.2)
63740: ALF-20389: CMIS webservice gives cast problem
- Now, only ContentStreamImpl extensions will be checked for mimetype. Also, unit test was added.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@64354 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
63749: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (4.3.0.BF)
63717: Merged V4.1-BUG-FIX (4.1.9) to V4.2-BUG-FIX (4.2.2)
63646: Merged DEV to V4.1-BUG-FIX (4.1.9)
55519: MNT-9203: CMIS: Cannot unset (set to null) property during checkin
- CMISConnector#setProperty method was modified. Now we can set null values according to provided API. Also, testCheckIn unit test was added for this approach.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@64327 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
63670: Merged DEV to HEAD-BUG-FIX (4.3)
63618: Fixed ACE-762: BM-0012: NodeLockedException not handled by CMIS
- Refactored interceptor to handle previous TODO: Dig into exceptions to find deep causal issues of interest
- Added unit test
- Translate lock-related Alfresco exception into CMIS exception
63619: Further testing for ACE-762: BM-0012: NodeLockedException not handled by CMIS
- Extended test to ensure that locked nodes generate the correct CMIS exception
63630: Added test for ACE-762 and cleaned up pointless warnings
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@64309 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
63329: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
63198: MNT-10548 : Public API returns invalid JSON if a tag or category has been applied to object
- Fixing test failure
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@64278 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
63328: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
63150: Merged DEV to V4.2-BUG-FIX (4.2.2)
61233 : MNT-10548 : Public API returns invalid JSON if a tag or category has been applied to object
- Replace List of NodeRefs with List of String elements in DirectProperty
63129 : MNT-10548 : Public API returns invalid JSON if a tag or category has been applied to object
- Fix related test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@64277 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
63086: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
62850: Merged V4.1-BUG-FIX (4.1.8) to V4.2-BUG-FIX (4.2.2)
62709: MNT-10644: autoCreatePeopleOnLogin=false allows unauthorized users to log in via CIFS
Force user creation on CIFS log in only if autoCreatePeopleOnLogin=true. Add unit tests for EnterpriseCifsAuthenticator
and PassthruCifsAuthenticator.
62968: MNT-10644: autoCreatePeopleOnLogin=false allows unauthorized users to log in via CIFS
Fix CifsAuthenticatorKerberosTest: to check person existence in V4.2-BUG-FIX RunAsUser is required to be set
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@64265 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261