57088: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3)
56573: Merged V4.1-BUG-FIX (4.1.7) to V4.2-BUG-FIX (4.2.1)
56461: MERGE DEV to V4.1-BUG__FIX
56268 - MNT-9095 Need to add IMAP mount point unit tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@61717 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
57086: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3)
56571: Merged V4.1-BUG-FIX (4.1.7) to V4.2-BUG-FIX (4.2.1)
56392: Merged DEV to V4.1-BUG-FIX (4.1.7)
56379 : MNT-9502 : Unlocking working copy leaves node in an unacessible and undefined state
- Using aspect workingcopy for "Cancel checkout" and "Checkin" actions
- Unit test to demonstrate fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@61715 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
57075: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3)
56562: Merged V4.1-BUG-FIX (4.1.7) to V4.2-BUG-FIX (4.2.1)
56138: Merged DEV to V4.1-BUG-FIX (4.1.7)
56075: MNT-9375 (related to MNT-9485): MT - when users are added to site with a group addition versus individual, they are not handled as members of site
Added JUnit test for the issue. Added the test to SecurityTestSuite.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@61706 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
57073: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3)
56560: Merged V4.1-BUG-FIX (4.1.7) to V4.2-BUG-FIX (4.2.1)
56114: MNT-9104: If username contains uppercase letters the action of joining a site will not be displayed in "My activities"
Added the license to new test classes.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@61704 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
57072: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3)
56559: Merged V4.1-BUG-FIX (4.1.7) to V4.2-BUG-FIX (4.2.1)
56110: MNT-9104 : If username contains uppercase letters the action of joining a site will not be displayed in "My activities"
Rename test SiteActivityTest to AbstractSiteActivityTest and FeedCleanerTest to AbstractFeedCleanerTest.
Add case sensitivity tests SiteActivityTestCaseInsensitivity, SiteActivityTestCaseSensitivity, FeedCleanerTestCaseInsensitivity, FeedCleanerTestCaseSensitivity.
Was implemented code, the activities dependent of 'user.name.caseSensitive' property.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@61703 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
57055: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3)
56523: Merged HEAD-BUG-FIX to V4.2-BUG-FIX (4.2.1)
56443: (MNT-9756) ALF-19225: Made post feeds cleanup to be executed in the unit test tear down method, to clean Pending, Error and etc. feeds.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@61689 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
57053: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3)
56520: Merged HEAD-BUG-FIX to V4.2-BUG-FIX (4.2.1)
56403: Various format fixes made during investigations e.g. ALF-20221
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@61687 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
57041: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3)
56508: Merged HEAD-BUG-FIX to V4.2-BUG-FIX (4.2.1)
55931: <<NOT IN 4.1.6>> Merged V4.1-BUG-FIX (4.1.7) to HEAD-BUG-FIX (4.2)
55872: Merged DEV to V4.1-BUG-FIX (4.1.7)
55854: MNT-9067: bulkimport "Replace existing files" option does not work when versioning is enabled
Clear version history on import versioned file and replace existing versioned file.
Remove versionable aspect on import non versioned file and replace existing versioned file.
Added unit test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@61675 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
57039: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3)
56506: Merged HEAD-BUG-FIX to V4.2-BUG-FIX (4.2.1)
55929: <<NOT IN 4.1.6>> Merged V4.1-BUG-FIX (4.1.7) to HEAD-BUG-FIX (4.2)
55812: MNT-9076: Penultimate version cannot be accessed from Share when uploading using bulkimport
Cleaned up the source files (the tabs and EOL chars).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@61673 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
57038: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3)
56505: Merged HEAD-BUG-FIX to V4.2-BUG-FIX (4.2.1)
55928: <<NOT IN 4.1.6>> Merged V4.1-BUG-FIX (4.1.7) to HEAD-BUG-FIX (4.2)
55811: Merged DEV to V4.1-BUG-FIX (4.1.7)
55751: MNT-9076: Penultimate version cannot be accessed from Share when uploading using bulkimport
The changes related to creating a version for HEAD revision of imported file.
Added unit test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@61672 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
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
55504: Merged V4.1-BUG-FIX (4.1.7) to HEAD-BUG-FIX (4.2)
55467: Merged V4.1.6 (4.1.6) to V4.1-BUG-FIX (4.1.7)
55414: Speculative fix to allow retrying to proceed during concurrent node modification
- I suspect that DB2 choosing a different connection to kick out from the other DBs
- MNT-9598: RenditionServiceIntegrationTest failing on DB2
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55785 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
55489: Merged V4.1-BUG-FIX (4.1.7) to HEAD-BUG-FIX (4.2)
55002: Improved handling of deadlocks and improved test
- MNT-9517 Deadlock when binding class behaviours during bootstrap
- MNT-9462 : WebContainer threads are deadlocked
Added the LockTryException to RetryingTransactionHelper
Test was waiting 1s for lock resolution, which would have been fine if it didn't also have to include
actual dictionary/message initialization. I also changed deadlock threads so that they run with full
retrying and ensure that both threads succeed despite the deadlock. To observe, run the
MessageServiceImplTest with the following:
log4j.logger.org.alfresco.repo.transaction.RetryingTransactionHelper=TRACE
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55777 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
- 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
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
55059: Fix Build: Reverse Merged
<< Think issue is just from 55012, but not taking the chance. Left the wrong commit r54935 on HEAD-BUG-FIX. I misread 54935 as 54635 >>
55006: Merged HEAD-BUG-FIX to HEAD (4.2)
54919: MNT-9571: Merged V4.1-BUG-FIX (4.1.7) to HEAD-BUG-FIX (4.2)
54377: MNT-9090 "CMIS: Integer overflow in properties": checks for overflow + tests
55012: Merged HEAD-BUG-FIX to HEAD (4.2)
54933: MNT-9574: Merged V4.1-BUG-FIX (4.1.7) to HEAD-BUG-FIX (4.2)
54635: Merged DEV to HEAD-QA (4.1.N)
MNT-9089 : CMIS: Missing boundaries for integer and long values
- Adding default constrains for Integer and Long CMIS PropertyDefinitions. Adding Test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55079 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
<< Think issue is just from 55012, but not taking the chance. Left the wrong commit r54935 on HEAD-BUG-FIX. I misread 54935 as 54635 >>
55006: Merged HEAD-BUG-FIX to HEAD (4.2)
54919: MNT-9571: Merged V4.1-BUG-FIX (4.1.7) to HEAD-BUG-FIX (4.2)
54377: MNT-9090 "CMIS: Integer overflow in properties": checks for overflow + tests
55012: Merged HEAD-BUG-FIX to HEAD (4.2)
54933: MNT-9574: Merged V4.1-BUG-FIX (4.1.7) to HEAD-BUG-FIX (4.2)
54635: Merged DEV to HEAD-QA (4.1.N)
MNT-9089 : CMIS: Missing boundaries for integer and long values
- Adding default constrains for Integer and Long CMIS PropertyDefinitions. Adding Test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55059 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
54933: MNT-9574: Merged V4.1-BUG-FIX (4.1.7) to HEAD-BUG-FIX (4.2)
54635: Merged DEV to HEAD-QA (4.1.N)
MNT-9089 : CMIS: Missing boundaries for integer and long values
- Adding default constrains for Integer and Long CMIS PropertyDefinitions. Adding Test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55012 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261