89398: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
89315: MNT-12642: Upload via Share Causes File Corruption
Reverse Merge V4.2-BUG-FIX (4.2.4)
85882: Merged DEV to V4.2-BUG-FIX (4.2.4)
74616 : MNT-11704 : Updating Adobe Illustrator and Photoshop Documents results in loss of mimetype and preview capability
- Guess mimetype using content of uploaded new file
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94623 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
89046: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
88945: Merged DEV to V4.2-BUG-FIX (4.2.4)
88849 : MNT-12566 : log4j.logger.org.alfresco.repo.security.permissions=DEBUG breaks file upload via Share UI and recovery from Trashcan.
- Added a check for "null" value
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94600 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
89043: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
88875: Merged DEV (4.2.4) to V4.2-BUG-FIX (4.2.4)
88823: MNT-12587: MySQL: Query to retrieve orphaned content URLs can cause memory issues
Added fetchSize parameter to select_ContentUrlsOrphaned query for MySQL.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94598 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
88886: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
88846: MNT-12473: Merged V4.2.2 (4.2.2.16) to V4.2-BUG-FIX (4.2.4)
88606: MNT-12574: CLONE - cyclic groups can be created bringing the server down
During build of the AuthorityBridgeTableAsynchronouslyRefreshedCache check and fix all cyclic groups. Add unit test.
88847: MNT-12473: Merged V4.2.2 (4.2.2.16) to V4.2-BUG-FIX (4.2.4)
88650: MNT-12574: CLONE - cyclic groups can be created bringing the server down
Do the cyclic check only in case of ConcurrentModificationException.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94588 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
88173: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
88063: Merged DEV to V4.2-BUG-FIX (4.2.4)
87653 : MNT-12464 : Duplicated email sent upon starting Pooled Review and Approve workflow
- Added check for multiple identical emails to user
- Added unit test
87670 : MNT-12464 : Duplicated email sent upon starting Pooled Review and Approve workflow
- Added check for multiple identical emails to user
87758 : MNT-12464 : Duplicated email sent upon starting Pooled Review and Approve workflow
- Changed test coverage
87993 : MNT-12464 : Duplicated email sent upon starting Pooled Review and Approve workflow
- Changed test coverage
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94567 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
88169: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
87959: Merged DEV (4.2.4) to V4.2-BUG-FIX (4.2.4)
87891: MNT-12367 : Relaxed mode for mandatory association not possible
Added support for relaxed mode of mandatory association target.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94563 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
87733: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
87683: Merged V4.1-BUG-FIX (4.1.10) to V4.2-BUG-FIX (4.2.4)
87387: MNT-12504: Unable to Download as Zip if there is an association between nodes
- try\catch block was added in ExporterComponent.isWithinExport() method. Appropriate unit test was added.
87633: MNT-12504: Unable to Download as Zip if there is an association between nodes
- Corrections for unit test that creates test user if one does not exist.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94550 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
87709: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
87659: MNT-12196 : Exception generated in “AccessAuditor” when length of custom property string in Javascript is bigger than 1024 in Postgres database
- Fixed build failure
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94548 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
87708: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
87650: MNT-12196 : Exception generated in “AccessAuditor” when length of custom property string in Javascript is bigger than 1024 in Postgres database
- Fixed build failure with
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94547 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
87706: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
87369: MNT-12196 : Exception generated in “AccessAuditor” when length of custom property string in Javascript is bigger than 1024 in Postgres database
- Fixed build failure with JBPMWorkflowRestApiTest
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94545 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
87705: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
86681: MNT-12196 : Exception generated in “AccessAuditor” when length of custom property string in Javascript is bigger than 1024 in Postgres database
- Fixed build failure
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94544 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
87698: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
86372: Merged DEV to V4.2-BUG-FIX (4.2.4)
86152 : MNT-12196 : Exception generated in “AccessAuditor” when length of custom property string in Javascript is bigger than 1024 in Postgres database
- Added trimming audit values (String and MLText) to not exceed system.maximumStringLength
86284 : MNT-12196 : Exception generated in “AccessAuditor” when length of custom property string in Javascript is bigger than 1024 in Postgres database
86286 : MNT-12196 : Exception generated in “AccessAuditor” when length of custom property string in Javascript is bigger than 1024 in Postgres database
86303 : MNT-12196 : Exception generated in “AccessAuditor” when length of custom property string in Javascript is bigger than 1024 in Postgres database
- Add check for Map and Collection
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94537 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
86233: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
86211: Merged V4.1-BUG-FIX (4.1.10) to V4.2-BUG-FIX (4.2.4)
86138: MNT-12400: Merged DEV to V4.1-BUG-FIX (4.1.10)
84644: MNT-12400: Bulk File System Import Tool logs incorrectly failed files
- In case of IntegrityException show "Failed on batch commit" message instead of incorrect id entry. Show cm:name for nodes for which constraint check failed.
84647: MNT-12400: Bulk File System Import Tool logs incorrectly failed files
- Skip import for content with invalid metadata files.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94530 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
86231: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
86156: Merged DEV to V4.2-BUG-FIX (4.2.4)
86145 : MNT-11758 : Starting Alfresco with Centera as the main content store, with content store caching enabled, generates errors
- We should recache content if content url was changed after write operation (like centera or xam)
- Unit test was added.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94528 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
85941: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
85882: Merged DEV to V4.2-BUG-FIX (4.2.4)
74616 : MNT-11704 : Updating Adobe Illustrator and Photoshop Documents results in loss of mimetype and preview capability
- Guess mimetype using content of uploaded new file
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94520 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
85821: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
85774: Merged DEV to V4.2-BUG-FIX (4.2.4)
85761: MNT-12381 IMAP server does not respect RFC for failed SELECT
- The new AlfrescoImapRuntimeException was added. Greenmail FolderException exceptions will be thrown instead of AlfrescoRuntimeException in AlfrescoImapHostManager.getFolder() method with throws declaration.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94518 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
85569: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
85495: MNT-12420: Outlook 2011 (MacOS) implements an IMAP move as an APPEND leading to the creation of an EML file
- Fix NPE that was found during testing.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94506 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
85566: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
85474: Merged DEV (4.2.4) to V4.2-BUG-FIX (4.2.4)
84715: MNT-12398 : FeedNotifier - Users mixed up, fail to send notification email
Added a test to simulated the issue.
Changed the FeedNotifier to use the runAsUser as it is set to run as system.
85443: MNT-12398 : FeedNotifier - Users mixed up, fail to send notification email
Set the full security context in FeedNotifier and clear it after execution.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94503 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
85565: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
85433: Merged DEV to V4.2-BUG-FIX (4.1.4) with unit test
84722: MNT-12420: Outlook 2011 (MacOS) implements an IMAP move as an APPEND leading to the creation of an EML file
- Perform copy instead of create on APPEND request when existing node with provided message-id or X-Alfresco-NodeRef-ID can be found
- Add Unit test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94502 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
The fix was to remove the bootstrap patch for the solrFacetsRootFolder created within Data Dictionary.
We are lucky with this feature in that any time this folder is accessed, it either happens:
1. within a write transaction and so we can lazy-create the folder
2. within a read transaction where the data being returned by the SolrFacetService can be easily simulated.
So we now lazily create the folder when it is first used - reusing the importer bootstrap/view data that the patch had used.
AFAICT, this will create the folder (in the default tenant) during startup and also when any search admin tries to create a new SOLR filter within a non-default tenant.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@92799 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
89575: ACE-3327: Work In Progress. TX cache statistics.
89642: ACE-3327: Exposes statistics through JMX. Adds hit ratio.
89649: ACE-3327: Added "@since 5.0" to new classes.
89691: ACE-3327: improved TransactionalCache stats tests.
89743: ACE-3327: fixed lack of thread safety for InMemoryCacheStatistics.
89752: ACE-3327: now possible to disable/enable tx cache statistics per-cache with properties.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89798 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
89023: ACE-2224: Could not re-applying ACL by cmis api request using Atom binding
- Report only repo permissions if onlyBasicPermissions is 'false', but do revert conversion if cmis basic permission has exact matching. Remove MNT-4561 changes to avoid clever logic. Restore unit test for MNT-10165 scenario. Allow apply empty set of direct permissions if node inherits parent permissions. In onlyBasicPermissions mode report only one cmis permission if one was set.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89123 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Fix fun off-by-one error meaning that 1 users = 0 users hoho!
ACE-3296 - SysAdmin bean should validate values for server.maxusers - or it is possible to accidently lock out the admin user!
- Fix to ensure that although -1 means "infinite users allowed", a value of -2 or less does not mean "no users allowed" double-hoho!
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89105 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
74808: Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (4.3/Cloud)
73693: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
73621: MNT-10165: CMIS 1.1 API: Impossible to remove ACL through Atom binding
- Fix test failure - fix CMISTest to not affect on AuthorityServiceTest
74803: Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (4.3/Cloud)
73688: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud)
73548: MNT-10165: Merged DEV to V4.2-BUG-FIX (4.2.3)
61161: MNT-10165: CMIS 1.1 API: Impossible to remove ACL through Atom binding
- Detect permission to delete for principal and also find and delete all the concomitant basic CMIS permissions. Add unit test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88915 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
88058: ACE-2030: Start process of retiring patches leading up to 4.0a
88061: ACE-2030: Remove unused SQL scripts for newly-retired patches
88062: ACE-2030: Change class names for all generic patches.
88064: ACE-2030: Remove unused patch implementation classes and fixes to get upgrade working again.
88067: ACE-2030: Clean up unused code and SQL for PatchDAO
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88070 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261