57156: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3)
57006: Merged PATCHES/V4.2.0 (4.2.0) to V4.2-BUG-FIX (4.2.1)
56794: Fix for ALF-20360 Alfresco with wcm web project not started if enabled index.recovery.mode=FULL
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@57192 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
56668: Merged V4.1-BUG-FIX (4.1.7) to V4.2-BUG-FIX (4.2.1)
56667: MNT-9774: Merged V4.1.5 (4.1.5.7) to V4.1-BUG-FIX (4.1.7)
56160: MNT-9663: Missing preview for large video files when Alfresco uses AWS S3 storage
Make cache writer aware of backing store writer so that it could return actual size and contentData when cache file is deleted after content was put to backing store.
56186: MNT-9663: Missing preview for large video files when Alfresco uses AWS S3 storage
Add copyright message and class description to BackingStoreAwareCacheWriter
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@56682 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
56434: Merged V4.1-BUG-FIX (4.1.7) to V4.2-BUG-FIX (4.2.1)
Merged V4.1.6 (4.1.6) to V4.1-BUG-FIX (4.1.7)
56432: MNT-8891: Reverse merged in V4.1.6
51111: MNT-8891 Spaces in wiki page's title are replaced by underscores
In name property spaces replased on "%20".
51341: MNT-8891: Deleted the line of code where it was substituting whitespaces in the wiki's title with underscores (This might have been missed during merging. rev: 51111).
ALF-19020: Added code to remove the leading and trailing whitespaces in the wiki's title.
52729: MNT-8891: Fixed wiki's title renaming issue by adding code to remove the leading and trailing whitespaces in the wiki's title instead of replacing all the whitespaces with underscores.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@56641 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
Fix for ALF-20138 Metadata query results include nodes that would be hidden (ie not indexed) in SOLR or lucene
Fix for ALF-20148 Hidden files such as surf-config are visible in dashlets etc. after upgrade from 4.0.2 > 4.2.0 if using MDQ
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@56096 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- fixed multi-tenancy impact for PARENT queries
- while this looks like a big impact it is an API change and a fix in one section of common code - which is covered by the CMIS API test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55967 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
55905: ALF-20066 : Changes made on any page of admin system-summary are not synchronised between nodes
The DefaultPropertyBackedBeanRegistry was made transaction aware if the transaction is present, to ensure the transaction
modifications to be replicated to other nodes in the cluster before the node restart signal is sent to them.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55934 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
55423: ALF-20031: LockStore is no longer used as a cache for persistent locks - it only holds Lifetime.EPHEMERAL locks.
55458: ALF-20031: added repeatable read within transactions to LockStores
55461: ALF-20031: moved transactional test code into separate test classes to avoid clutter.
55470: ALF-20031: added test for LockStore reads when no transaction is available.
55473: Generated LockState.toString() to aid debugging, stack trace clarity etc.
55481: ALF-20031: added tests for null value behaviour (transactional repeatable reads).
55663: ALF-20031: (work in progress, broken tests) removing concurrency locks from AbstractLockStore.
55664: ALF-20031: moved inner Thread classes to anonymous inner classes as there will be more of these coming.
55675: ALF-20031: fixed AbstractLockStoreTxTest
55681: ALF-20031: added more test cases to AbstractLockStoreTxTest
55683: Added missing tests to enterprise.repo.cluster package's BuildSafeTestSuite.
55684: ALF-20031: Fix HazelcastLockStoreTest to clear lock store backing map in createLockStore() fixture setup.
55688: Commented LockStore.clear() as a DO NOT USE method.
55694: ALF-20031: removed LockStore.contains() as this is not required, and was currently unsafe (no repeatable reads).
55696: ALF-20031: Fix AbstractLockStore.clear(): was not clearing transactionally scoped map.
55700: ALF-20031: removed concurrency locks from LockServiceImpl.getLockState(NodeRef)
55712: ALF-20031: removed concurrency lock from LockServiceImpl.lock()
55716: ALF-20031: removed lockstore locking from LockableAspectInterceptor.
55718: ALF-20031: renamed method to isEphemeralLock()
55719: ALF-20031: removed concurrency lock from LockServiceImpl.unlock()
55728: ALF-20031: added cm:lockLifetime property to content model, and added persistence within lockservice.
55732: ALF-20031: LockableAspectInterceptor no longer uses ephemeral lockstore for setProperties() handling.
55753: ALF-20031: upon tx rollback, ephemeral locks are now rolled back to the last known value, rather than always being unlocked.
55759: ALF-20031: temporary fix, AbstractLockStoreTxTest needs further attention for thread coordination.
55760: ALF-20091: disabled spawning of new transactions in LockKeeperImpl.refreshAllLocks()
55767: ALF-20031: changed AbstractLockStore to use getFullyAuthenticatedUser() instead of getRunAsUser().
55833: ALF-20091: reverted LockKeeperImpl to previous (create new tx) behaviour. Altered test to use separate transactions per lock phase.
55855: ALF-20031: fixed ReplicationServiceIntegrationTest, LockableAspectInterceptor's handling of cm:lockLifetime.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55893 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
55488: MNT-9648: Merged V4.1-BUG-FIX (4.1.7) to HEAD-BUG-FIX (4.2)
55001: Merged DEV to BRANCHES/DEV/V4.1-BUG-FIX:
54951: Test to reproduce MNT-9580: Daisy chained cm:original associations are cascade-deleted when the first original is deleted
54952: Fix MNT-9580: Daisy chained cm:original associations are cascade-deleted when the first original is deleted
When an aspect is removed, the associations defined on the aspect were also being removed.
However, the *inbound* associations instances were also being removed; in effect the behaviour of aspects on
other nodes was being activated, which is incorrect.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55793 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
55501: Merged V4.1-BUG-FIX (4.1.7) to HEAD-BUG-FIX (4.2)
<< Had a conflict on merge - think it is okay >>
55463: Merged V4.1.6 (4.1.6) to V4.1-BUG-FIX (4.1.7)
55227: MNT-9074: Merged V4.1.6-PATCHES-2013_09_03 to PATCHES/V4.1.6
55046: MNT-9074 : My Tasks fails to render if tasks quantity is excessive
Were implemented code for getting definite count of workflow instances and applying them to page. It makes the opening page more quickly.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55782 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
55487: Merged V4.1-BUG-FIX (4.1.7) to HEAD-BUG-FIX (4.2)
54917: Follow up to fixes for MNT-9462:
- Remove pattern where lock-try is in the try-finally block, thereby forcing conditional unlocking
If the lock is not achieved, then the finally block is not needed so the try-lock can go outside.
- Fixed lock upgrade to use check, upgrade and recheck; now it's less like the script of Inception
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55776 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
55486: Merged V4.1-BUG-FIX (4.1.7) to HEAD-BUG-FIX (4.2)
54914: Merged DEV to BRANCHES/DEV/V4.1-BUG-FIX:
54811: Unit test for MNT-9462 : Demonstrate deadlock between DictionaryService and MessageService
54899: MNT-9462 : WebContainer threads are deadlocked
Relies on MNT-9517 changes as well
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55775 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- addition of methods to support the admin ui such as list of test file extensions,
property names for custom properties and 'uses'
- NPE if on removeProperties(...) if no value is supplied
- Allow * transformer name to be used in a pipeline property in a setProperties(...) call
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55771 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Modified the way content.transformer.<transformer name>.extensions.<source>.<target>*.*.supported=[true|false] work
so they are still backward compatible AND one can define if unmatched mimetypes are supported or not. For example:
content.transformer.remoteServer.extensions.*.*.supported=false
- Added properties to transformers.properties so that the Transformation server ONLY supports the transformations
it did in 4.1.5 AND allows customers to change just one property to allow the Transformation Server to do all
transformations that it can with the exception of those that go to text, as generally the default transformers do
a better job and are faster.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55704 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
So the bug was caused by 2 problems: one in ScriptPreferenceService and one in person.sites.get.js
The first problem was that ScriptPreferenceService constructs raw Mozilla NativeObjects - a very unusual practice in itself - and it does not provide a default value as required by ECMA 9.1 from the ECMA standard. I've added this code to the NativeObject (can't change the type to ScriptableHashMap<K, V> or similar as the API is published).
I've also fixed the same bug (unreported, possibly never apparent) in a jbpm class.
The second problem was that person.sites.get.js simply could never return preferences data if the caller provided a filter (favourites or recents) and did not also provide a page size.
There was a logic error in the algorithm such that the size defaulted to 0 thus providing a 'page' of zero results as a default.
I assume this is a merge error from cloud, but I don't know.
I added tests for the JavaScript API's favourites/recents filter calls and logging here and there.
Also deleted some dead code.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55474 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261