129163 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128482 jvonka: REPO-839: Follow-on to fix test fallout
- subtle fix to mimeType guess (ie. application/octet-stream should be last resort, if magic bytes indicate txt/xml and there is no file ext)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129337 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
129119 adavis: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
129115 adavis: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
129111 adavis: Merged 5.0.2 (5.0.2.23) to 5.0.N (5.0.4)
120632 amorarasu: MNT-15367: Unable to bulk import filenames with portuguese characters in a linux environment.
- Fixed empty catch blocks and added some comments as per review.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129317 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
128826 jvonka: MNT-16448 / REPO-928: Fix "Alfresco OOTB install doesn't show preview for .EML files"
- add back Rfc822ToPdf to replace removal of Rfc822ToSwf (removed for BDE-443)
- follow-on attempt to workaround build machine #fail (is this a wider issue for transform testing ... ?)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129304 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
128822 jvonka: MNT-16448 / REPO-928: Fix "Alfresco OOTB install doesn't show preview for .EML files"
- add back Rfc822ToPdf to replace removal of Rfc822ToSwf (removed for BDE-443)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129303 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
128569 adavis: MNT-16381 Transformers must validate the content stream mimetype
- Ensure error when indexer is the caller includes the file name rather than null.
NodeContentGet now calls transform method with TransformationOptions parameter and the original
transformer method was deprecated as it should be been when this extra parameter was added.
- Set the strictMimeTypeCheck and retryTransformOnDifferentMimeType properties on dynamically created
pipeline and fail over transformers from global properties as is don for static transformers.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129293 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
128217 adavis: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
128209 ahind: Fix for MNT-16387 No results are returned for a CMIS query which contains IS NULL for documents with a NULL property
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129280 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
128216 adavis: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
128192 amorarasu: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
128165 amorarasu: Merged V4.2-BUG-FIX (4.2.7) to 5.0.N (5.0.4)
128151 rneamtu: MNT-15855 : Restoring a site or a folder with a locked for offline edit file does not work
- restored associations between working copy and original node after a parent node is deleted
- added unit test for case
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129279 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
128737 ahind: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
128736 ahind: Merged 5.1.0 (5.1.0.9) to 5.1.N (5.1.2)
128469 ahind: MNT-16445: Inconsistent behavior of Site File Type Breakdown dashlet in a sharded environment
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129277 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
128176 adavis: MNT-16381 Transformers must validate the content stream mimetype
- Tika has problems identifying eps - it guesses ps, so allow this through.
- Fix lost line in DifferrentMimeTypeTest
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129273 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
128168 adavis: MNT-16381 Transformers must validate the content stream mimetype
- 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/HEAD/root@129272 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
128144 rneamtu: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
128140 cpopa: MNT-14026: LDAP sync fails to update attribute's value deletion
- Update to null, the node properties for which the corresponding LDAP attribute is missing.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129271 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
127399 rmunteanu: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
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/HEAD/root@127888 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
127393 rmunteanu: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
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/HEAD/root@127885 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
127392 rmunteanu: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
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/HEAD/root@127884 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
127361 rmunteanu: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
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/HEAD/root@127883 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
127288 cturlica: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
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/HEAD/root@127878 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
127160 cturlica: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
127134 cturlica: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
127102 rmunteanu: MNT-15614 : Site with name "IT" cannot be managed properly
- Changed the way the role name is striped out.
- Implemented tests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127868 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126004 aleahu: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
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/HEAD/root@127835 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
125792 rmunteanu: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
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/HEAD/root@127813 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
125448 amorarasu: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
125339 rneamtu: Merged 5.1.1 (5.1.1) to 5.1.N (5.1.2)
125269 amukha: MNT-15976: A few Oracle tests sometimes take hours to complete
- disabled long running tests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127790 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
125037 cturlica: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
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/HEAD/root@127772 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
125036 cturlica: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
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/HEAD/root@127771 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
124856 cturlica: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
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/HEAD/root@127766 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
124656 rmunteanu: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
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/HEAD/root@127764 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
124520 rmunteanu: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
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/HEAD/root@127761 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261