- Addition of AbstractContentTransformer2.strictMimeTypeCheck(...) to check that the
declared mimetype is the same as the Tika derived mimetype. Controlled by a new alfresco
global property content.transformer.strict.mimetype.check (set to true by default).
- Added the UnsupportedTransformationException to a number of transformation callers as
they should have been handling it already.
- Modified DifferrentMimeTypeTest to test the new strictMimeTypeCheck.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@128168 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
127588 jkaabimofrad: Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
127088 jvonka: FileFolderService / GetChildrenCannedQuery - optional support for filtering by isPrimary child assoc (true/false)
- eg. as required by new V1 REST API
- RA-1053
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127680 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
127454 jkaabimofrad: MNT-16224, RA-1093: Fixed Quickshare issue where deleting a shared node didn't remove the 'shared' aspect. The fix also takes care of the shared nodes that have been deleted but not yet restored, as well as, shared nodes that have already been restored from the trashcan (allow the user to un-share).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127465 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
127377 rmunteanu: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
127306 cturlica: Merged V4.2-BUG-FIX (4.2.7) to 5.0.N (5.0.4)
127272 arebegea: Merged V4.1-BUG-FIX (4.1.11) to V4.2-BUG-FIX (4.2.7)
127195 cpopa: MNT-14453 : Deleting tag using TaggingService.deleteTag() causes issue where no more tags can be added to node
- Amended TaggingService.deleteTag() so as to remove references to a tag before being deleted.
- Added 'nodeService.exists(beforeNodeRef)' checks in TaggingService.updateTags in order to protect against InvalidNodeRefException which may be thrown on nodes that still have references to tags deleted using the current(incorrect) implementation of TaggingService.deleteTag()
- Created DOCS-2060 in order document the manual procedure of tag scope refresh.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127399 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
127370 rmunteanu: Merged 5.1.1 (5.1.1) to 5.1.N (5.1.2)
127309 aleahu: MNT-14332 : Alfresco stops working when Type Hierarchy creates a circular reference
- added validation to check if circular dependency was introduced when a new namespace is imported
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127393 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
127369 rmunteanu: Merged 5.1.1 (5.1.1) to 5.1.N (5.1.2)
127276 aleahu: MNT-15345 : Dynamic Deployment of Models can cause a stack overlow error that causes excessive logging
- checking if a model's namespace is also imported, if so throwing a compilation error
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127392 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
127307 cturlica: Merged 5.1.0 (5.1.0.6) to 5.1.N (5.1.2)
127235 cturlica: MNT-16292: Unzipped files which have folders do not get the cm:titled aspect applied
- updated ImporterActionExecuter to add titled aspect
- added test case for change and refactored test class
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127361 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
127263 arebegea: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
127236 dungureanu: MNT-15149 : Rule set with "Rule applied to subfolder" also applies to a comment node.
- added fm:post into ignored types list
- externalised list into the spring config
- created test for ignored types
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127288 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126573 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124623 jkaabimofrad: SFS-405, RA-778: Added tests and as the result did some minor modifications. Also, removed the ability to set or remove a client via JMX (Read only).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126918 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126459 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122183 jvonka: FileFolderService / GetChildrenCQ - list children may ignore specific node type filter (and return all rather than none)
- initially fixed on BRANCHES/DEV/FILE-FOLDER-API (see also RA-811)
- will eventually be merged to HEAD for 5.N (although this specific commit could be cherry-picked sooner, if needed)
ACE-5114, RA-811
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126803 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
125892 adragoi: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
125842 rmunteanu: Merged V4.2-BUG-FIX (4.2.7) to 5.0.N (5.0.4) (PARTIAL MERGE)
125700 adavis: Merged V4.2.5 (4.2.5.7) to V4.2-BUG-FIX (4.2.7)
125698: Merged DEV to V4.2.5 (4.2.5.7)
125677 arebegea: MNT-15219 : Excel (.xlsx) containing xmls (shapes/drawings) with multi byte characters may cause OutOfMemory in Tika
- Should not have updated version.properties as the original commit needs to be merged forwards.,
125696: Merged DEV to V4.2.5 (4.2.5.7)
125677 arebegea: MNT-15219 : Excel (.xlsx) containing xmls (shapes/drawings) with multi byte characters may cause OutOfMemory in Tika
- Modified tika parser and tika core jars to allow some configuration parameters to be sent from Alfresco side using the metadata map parameter
- Excluded by default the parsing of drawings/shapes xmls because there was little valuable data that could be extracted from those xmls
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126004 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
125621 rmunteanu: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
125577 abalmus: MNT-15038 : Unexpected behavior when disabling Active Directory user (New feature to sync userAccountControl)
- Implemented new requirements and tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@125792 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
124936 arebegea: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
124872 cturlica: Merged V4.2-BUG-FIX (4.2.7) to 5.0.N (5.0.4)
124789 adavis: Merged V4.2.6 (4.2.6) to V4.2-BUG-FIX (4.2.7)
124719 rmunteanu: Merged DEV to V4.2.6 (4.2.6)
124647: MNT-15847 : The RepoTransferReceiverImplTest.testNodeDeleteAndRestore fails intermittently on SQL Server and DB2
- reset mockedPolicyHandler before doCommitCB to ensure that only onEndInboundTransfer calls from doCommitCB are counted
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@125037 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
124935 arebegea: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
124871 cturlica: Merged V4.2-BUG-FIX (4.2.7) to 5.0.N (5.0.4)
124788 adavis: Merged V4.2.6 (4.2.6) to V4.2-BUG-FIX (4.2.7)
124676 arebegea: MNT-15844 : CheckOutCheckInServiceImplTest.testCheckOutPermissions_ALF7680_ALF535 fails on SQL Server
- fix the tests by doing the initialization of the test data in a new retrying transaction
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@125036 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
124703 rmunteanu: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
124682 jvonka: Merged 50N-NDB (5.0.4) to 5.0.N (5.0.4)
124674: MNT-15211: Follow-on (note: only affects NDB)
- use string_value 400 to enable schema bootstrap (and be consistent with existing customer pilot DBs)
- minor tweaks to unit test cases (note: only affects NDB)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@124856 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
124582 rmunteanu: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
124539 jvonka: Merged 50N-NDB (5.0.4) to 5.0.N (5.0.4)
124514: MNT-15211: NDB-specific workaround fix for trashcan restore (since NDB does not support partial rollback on constraint violation)
- this fix is dialect-specific (hence does not impact existing supported DB types)
- note: MySQL Cluster NDB - experimental/unsupported
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@124656 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
124492 aleahu: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
124466 aleahu: Merged V4.2-BUG-FIX (4.2.7) to 5.0.N (5.0.4)
124434 aleahu: Merged V4.2.6 (4.2.6) to V4.2-BUG-FIX (4.2.7)
124387 amorarasu: MNT-15888: The ImapServiceImplTest fails intermittently on MySQL and MariaDB
- The re-authentication is done in a retrying transaction.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@124520 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
124313 adragoi: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
124244 abalmus: MNT-15497 : Keyword tags generated from metadata extraction are formed into a single string rather than split on delimiter
- Fixed tag separation on delimiter
- Enhanced existing test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@124364 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
124303 rneamtu: MNT-15881 : CLONE - Share rule constraints missing due to ActionExecuterAbstractBase's regression
Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
124129 rneamtu: Merged DEV to 5.0.N (5.0.4)
124118 rneamtu: MNT-15802: Share rule constraints missing due to ActionExecuterAbstractBase's regression
- Set parameter constraint name for localized parameters
- Added unit test for case
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@124310 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
124237 amorarasu: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
124191 amorarasu: Merged V4.2-BUG-FIX (4.2.7) to 5.0.N (5.0.4)
124133 arebegea: MNT-14671 : Site with document locked for Edit Offline cannot be deleted
- disabled the ASPECT_LOCKABLE when deleting a site
- added tests for delete and restore site
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@124278 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
124236 amorarasu: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2) (PARTIAL MERGE)
124190 amorarasu: Merged V4.2-BUG-FIX (4.2.7) to 5.0.N (5.0.4)
124132 arebegea: MNT-15573 : Site finder slow for a user who's member of many sites
- added a new method to InvitationService to make use of the limit in the searchInvitation
- sent and used the 200 limit from the site-finder.get.js in the script/ScriptInvitationService.java and passed the new parameter
- for searchModeratedInvitations and searchNominatedInvitations methods of InvitationServiceImpl.java I added the use of the limit parameter
- added some comments on ActivitiWorkflowEngine.java and TaskComponent.java to inform developers about the performance issues and possible improvement
- added junit tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@124277 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261