ACE-1826 Solr: Search not working on some dashlets
ACE-1827 "Could not retrieve tags error" was detected for Reprository.
ACE-1830 BM-0010, BM-0013 tests didn't completely run for 4.3.0 b1717.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@71934 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
70682: Merged WAT1 (4.3/Cloud) to HEAD-BUG-FIX (4.3/Cloud)
69736: ACE-1615: Fixed the search result to return empty arrays for field facets, when no facet queries are available.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70914 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
70680: Merged WAT1 (4.3/Cloud) to HEAD-BUG-FIX (4.3/Cloud)
69081: ACE-1265: Fixed the selected Date/Size range filtering
- Added insertion index for the facet label, to help the Date/Size sorting labels in the UI.
- A minor optimization in SolrFacetHelper.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70911 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
70596: Merged WAT1 (4.3/Cloud) to HEAD-BUG-FIX (4.3/Cloud)
67363: ACE-1264, ACE-1270: added support for the facet value results, to include display-name for userID and mimetype.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70828 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
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
70042: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
70038: Merged V4.1-BUG-FIX (4.1.9) to V4.2-BUG-FIX (4.2.3)
- Fix build Automatic merge removed imports
69858: MNT-11371: Alfresco unable to bootstrap due to LockTryExceptions following an upgrade from 3.4.8 -> 3.4.13 -> 4.0.2 to either 4.1.8 or 4.2.1
Additional boolean parameter 'haveWriteLock' has been added to 'MessageServiceImpl.getResourceBundleBaseNames()' method. It serves to avoid unlocking external write locks. The method still assumes that read lock is acquired if 'haveWriteLock=false'. Read lock will be upgraded to write lock only if 'haveWriteLock' parameter is equal to false
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70477 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
70028: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
70023: Merged V4.1-BUG-FIX (4.1.9) to V4.2-BUG-FIX (4.2.3)
69858: MNT-11371: Alfresco unable to bootstrap due to LockTryExceptions following an upgrade from 3.4.8 -> 3.4.13 -> 4.0.2 to either 4.1.8 or 4.2.1
Additional boolean parameter 'haveWriteLock' has been added to 'MessageServiceImpl.getResourceBundleBaseNames()' method. It serves to avoid unlocking external write locks. The method still assumes that read lock is acquired if 'haveWriteLock=false'. Read lock will be upgraded to write lock only if 'haveWriteLock' parameter is equal to false
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70474 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
70027: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
70022: Merged V4.1-BUG-FIX (4.1.9) to V4.2-BUG-FIX (4.2.3)
69848: Merged DEV 4.2.N to V4.1-BUG-FIX (4.1.9)
69603: MNT-11371: Alfresco unable to bootstrap due to LockTryExceptions following an upgrade from 3.4.8 -> 3.4.13 -> 4.0.2 to either 4.1.8 or 4.2.1
Ability to configure try lock timeout for several different contexts has been implemented. New configuration for every context has been added:
- system.lockTryTimeout=100
- system.lockTryTimeout.DictionaryDAOImpl=2000
- system.lockTryTimeout.MessageServiceImpl=${system.lockTryTimeout}
- system.lockTryTimeout.PolicyComponentImpl=${system.lockTryTimeout}
'LockHelper.tryLock()' has been modified to accept additional string 'useCase' parameter. Parameter is used for throwing exceptions with contextual messages when lock is not acquired
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70473 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
69953: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
69919: Fix build error related to the following merge.
<< Forgot to make sure the new file had the changes that were only in V4.2-BUG-FIX >>
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@70469 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
69951: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
69870: MNT-11310 : Applying patch 'patch.siteLoadPatch.swsdp': Error message when applying patch in read-only mode
- Using global instance of retryingTransactionHelper at patch transaction and using correct runAs user
- correct restoring of fullyAuthenticatedUser
Note that this fix requires the changes to the RetryingTransactionHelper that precede it
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70467 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
69947: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
69861: MNT-11371: Alfresco unable to bootstrap due to LockTryExceptions following an upgrade from 3.4.8 -> 3.4.13 -> 4.0.2 to either 4.1.8 or 4.2.1
Merged 4.1.N to V4.2.N (4.2.3)
69858: MNT-11371: Alfresco unable to bootstrap due to LockTryExceptions following an upgrade from 3.4.8 -> 3.4.13 -> 4.0.2 to either 4.1.8 or 4.2.1
Additional boolean parameter 'haveWriteLock' has been added to 'MessageServiceImpl.getResourceBundleBaseNames()' method. It serves to avoid unlocking external write locks. The method still assumes that read lock is acquired if 'haveWriteLock=false'. Read lock will be upgraded to write lock only if 'haveWriteLock' parameter is equal to false
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70463 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
69946: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
69860: MNT-11371: Alfresco unable to bootstrap due to LockTryExceptions following an upgrade from 3.4.8 -> 3.4.13 -> 4.0.2 to either 4.1.8 or 4.2.1
Merged 4.1.N to V4.2.N (4.2.3)
69848: MNT-11371: Alfresco unable to bootstrap due to LockTryExceptions following an upgrade from 3.4.8 -> 3.4.13 -> 4.0.2 to either 4.1.8 or 4.2.1
Ability to configure try lock timeout for several different contexts has been implemented. New configuration for every context has been added:
- system.lockTryTimeout=100
- system.lockTryTimeout.DictionaryDAOImpl=2000
- system.lockTryTimeout.MessageServiceImpl=${system.lockTryTimeout}
- system.lockTryTimeout.PolicyComponentImpl=${system.lockTryTimeout}
'LockHelper.tryLock()' has been modified to accept additional string 'useCase' parameter. Parameter is used for throwing exceptions with contextual messages when lock is not acquired
69858: MNT-11371: Alfresco unable to bootstrap due to LockTryExceptions following an upgrade from 3.4.8 -> 3.4.13 -> 4.0.2 to either 4.1.8 or 4.2.1
Additional boolean parameter 'haveWriteLock' has been added to 'MessageServiceImpl.getResourceBundleBaseNames()' method. It serves to avoid unlocking external write locks. The method still assumes that read lock is acquired if 'haveWriteLock=false'. Read lock will be upgraded to write lock only if 'haveWriteLock' parameter is equal to false
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70462 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
69924: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
69817: Merged V4.1-BUG-FIX (4.1.9) to V4.2-BUG-FIX (4.2.3)
69777: Merged DEV to V4.1-BUG-FIX (4.1.9)
69741: MNT-10023: Activities - deletions may not be listed
- Implemented functionality that will check original parent node permission (even if it has been archived too), when archived node has not read permission with inherit flag (true). This approach is used for appropriate feed creation.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70456 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
68541: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
68489: MNT-11225: Problem with pdf-text extraction, spaces between letters in many of the words
- Removed debugging sys out
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70424 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
68540: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
68479: MNT-11225: Problem with pdf-text extraction, spaces between letters in many of the words
- Added PdfParserConfig config field which is added to the ParseContext if present
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70422 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
68534: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
68311: Merged V4.1-BUG-FIX (4.1.9) to V4.2-BUG-FIX (4.2.3)
68270: MNT-11347: Merged V4.1.4 (4.1.4.28) to V4.1-BUG-FIX (4.1.9)
66989: MNT-11026 Version indicators after publishing a document are incorrect.
- In PublishingEventHelper#createPublishSnapshot(NodeRef) was added versionProperties map.
67468: MNT-11026 Version indicators after publishing a document are incorrect.
- In PublishingEventHelper#createPublishSnapshot(NodeRef) was addedversionService.ensureVersioningEnabled(node, props).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70413 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
68533: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
68310: Merged V4.1-BUG-FIX (4.1.9) to V4.2-BUG-FIX (4.2.3)
68265: MNT-11345: Merged V4.1.6 (4.1.6.15) to V4.1-BUG-FIX (4.1.9)
65696: Merged DEV to V4.1.6 (4.1.6.15)
65522: MNT-10931 : Unable to retrieve completed workflow's tasks using workflowService.queryTasks() with processProperties
Added a check to NOT include start-task when the process for the given processId is already ended.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70412 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
68532: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
68305: Merged V4.1-BUG-FIX (4.1.9) to V4.2-BUG-FIX (4.2.3)
68264: MNT-11343: Merged V4.1.6 (4.1.6.14) to V4.1-BUG-FIX (4.1.9)
<< There are really only 3 commits as follows. In addition there are a number of reverts and reverts of reverts:
59852+6039-60386, 60679-60680, 64213-64219, 65093-65103, 65450-65451 >>
- 60675: MNT-10017: SOLR: Long reindex times when deleting or changing sites env with 15K sites
New ability has been added to configure types which do not support paths calculation for indexing.
New option has been added to enable or disable filtering types. Paths are also ignored for 'cm:person' and 'app:configurations' subtypes.
Also parent associations are ignored for 'cm:person' and 'app:configurations' types and their subtypes:
- 'search.solrTrackingSupport.ignorePathsForSpecificTypes' (default value is 'false'; usual behavior);
- the configuration for the types supports full and prefixed QNames
- 63983: MNT-10017: SOLR: Long reindex times when deleting or changing sites env with 15K sites
Aux re-index logic has been modified to skip metadata pulling for types not matching type constraints. Set of types is configurable.
'SOLRTrackingComponentImpl.getNodesMetadata()' has been modified to filter children not matching type constraints. Additionally, logic for calculating category paths has been modified to take into account the type constraints
- 65017: MNT-10017: SOLR: Long reindex times when deleting or changing sites env with 15K sites
Nodes filtering (those do not need in cascade update for their child aux docs) has been improved. Ids of such docs are searched at start of cascade by configured types. Metadata of child are not pulled if result docs set contains id of the child.
Node metadata may contain DB ids of child associations in the same time. Cache with doc id by DB id mapping doesn't exist in core tracker. Hence, these child associations can be filtered only using query by DB id to get doc id
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70411 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
68528: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
68303: Merged V4.1-BUG-FIX (4.1.9) to V4.2-BUG-FIX (4.2.3)
68256: MNT-11342: Merged V4.1.7 (4.1.7.7) to V4.1-BUG-FIX (4.1.9)
65718: MNT-10966: 4.1.7 breaks onContentUpdate policies when using webdav
Call onContentUpdate policies on ASPECT_NO_CONTENT removal as it means that new content was uploaded.
For WebDAV ASPECT_NO_CONTENT is removed on UNLOCK of the new node.
65741: MNT-10966: 4.1.7 breaks onContentUpdate policies when using webdav
Add unit test for case
- Test resources alraedy existed on V4.1-BUG-FIX
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70410 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
70083: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
70071: Merged V4.1-BUG-FIX (4.1.9) to V4.2-BUG-FIX (4.2.3)
70057: Merged V4.1.5 (4.1.5.14) to V4.1-BUG-FIX (4.1.9)
70048: 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
- move defining into same TX as shared when shared created.
- fix tests that assumes there will never be ACL dupes when traversing the tx change log - incorrect. We aim to minimise this
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70084 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
70000: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
69998: Merged V4.1-BUG-FIX (4.1.9) to V4.2-BUG-FIX (4.2.3)
69997: MNT-11437: Merged V4.1.5 (4.1.5.14) to V4.1-BUG-FIX (4.1.9)
69995: 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
- fixed as described - no complex join - pull back and check inherited shared are indexed when the defining acls is indexed if it exists
- will also be indexed if created lazily
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70001 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
68201: Merged PLATFORM1 (4.3/Cloud) to HEAD-BUG-FIX (4.3/Cloud)
64815: Put transaction back around licenseService.verifyLicense() (removed in r63894)
- ACE-525 - BM-0013: SOAK: v420b214_01: DescriptorService intercepts retrying exception during concurrent start
- The transaction is required for concurrency, etc.
- Added code to inspect any resulting exception in order to dig out a LicenseException
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@68464 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261