Commit Graph

464 Commits

Author SHA1 Message Date
Alan Davis
d60e9bb983 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
91712: Merged 5.0.N (5.0.1) to HEAD-BUG-FIX (5.1/Cloud)
      91645: Merged DEV to 5.0.N(5.0.1)
         91602: MNT-12770: Test failures on DB2
          - Update SchemaReference
          - Increase delay in renderPdfDocumentLongRunningTest() 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94827 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 11:37:59 +00:00
Alan Davis
68f7ce770e Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
91057: Merged V4.2-BUG-FIX (4.2.5) to HEAD-BUG-FIX (5.0/Cloud)
      90986: MNT-11732: ephemeral locks have configurable threshold over which locks will be automatically made persistent instead.
      By setting the new property, administrators may control how ephemeral locks are created, for example:
      property alfresco.ephemeralLock.expiryThresh=30
      This will mean that when a LockService client requests that an ephemeral lock is created with a timeout of greater than 30 seconds, the lock will be created as a persistent lock instead (the ephemeral lifetime request is vetoed).
      By setting this property to -1, ALL locks will be created as persistent locks (giving the old, pre-ephemeral locking behaviour). By leaving this at the default (48 hours) the newer locking behaviour is completely unaffected, e.g. ephemeral locks may be created with up to 48 hour expiry time and over this limit an exception is thrown (and the lock is not created).
      By setting the value to something in between these settings it is possible to have quite a nice balance of behaviour. Using the example of 30 seconds, as above, will mean that using Share's "Edit Online" to edit a document in MS Word will result in a persistent lock (as MS Word requests approx 1 hour for its locks). After Solr has performed its next incremental index, then the Word document may be seen in the "Document's I'm Editing" filter in Share, since this is a persistent (in-DB) lock.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94765 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 11:11:51 +00:00
Alan Davis
6fec0adb16 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
90996: Merged V4.2-BUG-FIX (4.2.5) to HEAD-BUG-FIX (5.0/Cloud)
      90953: Merged DEV to V4.2-BUG-FIX (4.2.5)
         90913: MNT-12798 : SOLRDAO doesn't use fromTxnId when toTxnId is null
            - Fixed syntax bug in solr-common-SqlMap.xml
            - Added test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94759 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 11:10:26 +00:00
Alan Davis
c10e66fae2 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
90995: Merged V4.2-BUG-FIX (4.2.5) to HEAD-BUG-FIX (5.0/Cloud)
      90951: Merged DEV (4.2.2) to V4.2-BUG-FIX (4.2.5)
         64813: MNT-10944 : Rules doesnt work with multiple custom property
         Added code to property value comparator to support multi valued properties.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94758 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 11:10:16 +00:00
Alan Davis
59acf9cab1 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
90837: Merged V4.2-BUG-FIX (4.2.5) to HEAD-BUG-FIX (5.0/Cloud)
      90751: Merged V4.2.4 (4.2.4) to V4.2-BUG-FIX (4.2.5)
         90739: Merged DEV to PATCHES/V4.2.4 (4.2.4)
            60205: MNT-9885: Rules not firing on some content saved in Alfresco drive
               - Incorrect RuleTrigger behavior is fixed. Rules that were ignored for content with sys:temporary aspect are now fired when this aspect is removed.
               - Required Unit tests were added.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94724 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 11:03:03 +00:00
Alan Davis
549257843e Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
90779: Merged V4.2-BUG-FIX (4.2.5) to HEAD-BUG-FIX (5.0/Cloud)
      90654: Merged DEV to V4.2-BUG-FIX (4.2.4)
         88809: MNT-12502: Updating parent node (folder) fails using CMIS, if any of contained children is locked
            Check if HiddenAspect and IndexControlAspect exist on folder items before actually remove aspects.
            Apply cascade of the (un-)hide to children even if a child is locked. Add unit test for case.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94717 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 11:01:39 +00:00
Alan Davis
46244028c5 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
90771: Merged V4.2-BUG-FIX (4.2.5) to HEAD-BUG-FIX (5.0/Cloud)
      90565: Merged DEV to V4.2-BUG-FIX (4.2.4)
         76855 : MNT-11765 : Public API Authentication: Returns error 500 instead of 401 when authenticated with invalid / non existing user
            - Avoid InvalidStoreRefException in getUserOrNull and getPersonOrNull methods
      90610: MNT-11765 : Public API Authentication: Returns error 500 instead of 401 when authenticated with invalid / non existing user
         - Fix for compilation errors
      90676: MNT-11765 : Public API Authentication: Returns error 500 instead of 401 when authenticated with invalid / non existing user
         - Test is changed to return the system to initial state


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94713 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 11:00:56 +00:00
Alan Davis
c421654dd3 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
90394: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
      90287: Merged DEV to V4.2-BUG-FIX (4.2.4)
         89952 : MNT-12242 : Alfresco "autoVersionOnUpdateProps=false" does not work properly when making a CMIS call
            - Test to ensure auto-versioning on update properties and set/delete content using both Alfresco and CMIS perspectives. Changes according to new auto-versioning behavior


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94672 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 10:50:40 +00:00
Alan Davis
fe8c0ad48c Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
90256: Remove creation of specific minimal context in UsageTestSuite - for some reason, it makes the whole suite fails when run with surefire 2.18


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94669 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 10:49:44 +00:00
Alan Davis
1ceaa86654 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
89756: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
      89729: MNT-11809 Activiti losses data with large Aspect or Type property values
         - super class should be abstract - it contains no tests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94638 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 10:42:44 +00:00
Alan Davis
3b8bee75b0 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
89755: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
      89709: Merged DEV to V4.2-BUG-FIX
       88701 : MNT-11809 : Activiti losses data with large Aspect or Type property values
        Configured client-side validation, added server-side validation via task and workflow filters. Added unit test.
       88897 : MNT-11809 : Activiti losses data with large Aspect or Type property values 
        Update some config and unit test. 
       89616 : MNT-11809 : Activiti losses data with large Aspect or Type property values 
        Added and updated some tests. 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94637 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 10:42:34 +00:00
Alan Davis
b8709f0961 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
89429: ACE-2649: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
      89386: Merged DEV to 4.2-BUG-FIX (4.2.4)
         85587: MNT-11279: Docx Preview: FileName in the document header not previewing correctly
            - Keep original name during convertion.
            - Add unit test 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94626 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 10:40:19 +00:00
Alan Davis
656b89950b Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
89057: Fix for compilation error on HEAD-BUG-FIX build #282 - #286


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94601 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 10:33:44 +00:00
Alan Davis
e1e306d219 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.0/Cloud)
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
2015-01-31 10:09:03 +00:00
Alan Davis
624e6e63f3 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.0/Cloud)
88603: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
      88349: Merged DEV to V4.2-BUG-FIX (4.2.4)
         81057 : MNT-12098 : The cmis:description field should be queryable. 
            - Make cmis:description queryable
         82422 : MNT-12098 : The cmis:description field should be queryable. 
            - Fix related test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94572 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 10:00:29 +00:00
Alan Davis
09b085174e Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.0/Cloud)
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
2015-01-31 09:59:33 +00:00
Alan Davis
162380e105 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.0/Cloud)
88170: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
      87992: MNT-12367 : Relaxed mode for mandatory association not possible
      Fixed failed test.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94564 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 09:58:56 +00:00
Alan Davis
c5a524e616 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.0/Cloud)
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
2015-01-31 09:58:45 +00:00
Alan Davis
285eaa0399 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.0/Cloud)
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
2015-01-31 09:49:03 +00:00
Alan Davis
510abf138f Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.0/Cloud)
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
2015-01-31 09:48:27 +00:00
Alan Davis
3458af98f2 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.0/Cloud)
87707: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
      87551: MNT-12191 : Intermittent test failure: CronScheduledQueryBasedTemplateActionDefinitionTest.testQueryTemplateFunctionsUnescapingMnt11598
      Fixed the test.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94546 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 09:48:16 +00:00
Alan Davis
c93ae4a719 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.0/Cloud)
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
2015-01-31 09:46:35 +00:00
Alan Davis
36fdee5019 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.0/Cloud)
86331: MNT-11758 : Starting Alfresco with Centera as the main content store, with content store caching enabled, generates errors
      - correct compile error after merge


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94536 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 09:46:25 +00:00
Alan Davis
01699f3e60 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.0/Cloud)
86232: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
      86196: Merged DEV to V4.2-BUG-FIX (4.2.4)
         84316: MNT-11784 The "not" keyword is no longer working in CMIS query.
               In CMISQueryParser.buildConjunction() was added check (getOccur() == Occur.EXCLUDE).
         84522: MNT-11784 The "not" keyword is no longer working in CMIS query
               In OpenCmisQueryTest was added testNotKeyword() test. 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94529 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 09:45:07 +00:00
Alan Davis
9d7c30289a Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.0/Cloud)
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
2015-01-31 09:44:55 +00:00
Alan Davis
16b6069313 Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.0/Cloud)
85620: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
      85550: Merged V4.1-BUG-FIX (4.1.10) to V4.2-BUG-FIX (4.2.4)
         85485: Merged DEV to V4.1-BUG-FIX
          85473 : MNT-10070 : Provide audit filter capabilities for audit applications.
           Added unit test. 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94508 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 09:32:33 +00:00
Alan Davis
3eb7e5d52b Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.0/Cloud)
85568: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
      85476: Merged DEV to V4.2-BUG-FIX
       84330 : MNT-11775 : The (reject) review comment value is never shown in a moderated site rejection email.
        Corrected invitation-moderated.bpmn20.xml file . 
       85450 : MNT-11775 : The (reject) review comment value is never shown in a moderated site rejection email.
        Corrected some unit test.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94505 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 09:32:01 +00:00
Alan Davis
9c0e08b45d Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.0/Cloud)
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
2015-01-31 09:31:37 +00:00
Alan Davis
f3928a21cd Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.0/Cloud)
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
2015-01-31 09:31:26 +00:00
Neil McErlean
11a8f28044 This is a tentative fix for ACE-3671. It's being checked in in order to push one build through bamboo.
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
2014-12-29 21:23:13 +00:00
Pavel Yurke
46ceced321 Merged HEAD-MNT-2904 to HEAD (5.0.0)
89997: ACE-2904: Localised labels for type, aspect and property definitions are no longer returned
      - Update base types. Appropriate unit test was added.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@90092 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-11-07 10:47:34 +00:00
Pavel Yurke
4e858163a8 Merged HEAD-MNT-2904 to HEAD (5.0.0)
89844:ACE-2904: Localised labels for type, aspect and property definitions are no longer returned
         - Update of typeDefInclProperties property definitions is required. Updated unit test to check functionality.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89864 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-11-04 14:38:28 +00:00
Pavel Yurke
4e57f75adf Merged HEAD-MNT-2904 to HEAD (5.0.0)
89796: Merged DEV to HEAD-MNT-2904
      88615: ACE-2904: Localised labels for type, aspect and property definitions are no longer returned
         - Fix for side effect of ACE-1996, when initial title/description resolving was removed. Now, it will be resolved, when we are going to get type definition for the first time. Appropriate unit test was added.
      89240: ACE-3322: CMIS Types have lost display names - breaks workbench
         - Update child definitions.
      89482: ACE-2904: Localised labels for type, aspect and property definitions are no longer returned
         - Fix that updates property\properties of type definition. Unit test was added that checks for update children type defs and properties.
      89775:  ACE-2904: Localised labels for type, aspect and property definitions are no longer returned
         - Fix that won't update property\properties of type definition on initialization phase (resolveInheritance method invocation).


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89836 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-11-04 08:23:57 +00:00
Matt Ward
d9c11a7ca7 Merged BRANCHES/DEV/mward/head_cachestats to HEAD:
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
2014-11-03 18:08:50 +00:00
Pavel Yurke
72ce672d17 Reverse Merged - Fix causes deadlock in tests
89542: Merged DEV to HEAD (5.0.0)
      88615: ACE-2904: Localised labels for type, aspect and property definitions are no longer returned
         - Fix for side effect of ACE-1996, when initial title/description resolving was removed. Now, it will be resolved, when we are going to get type definition for the first time. Appropriate unit test was added.
      89240: ACE-3322: CMIS Types have lost display names - breaks workbench
         - Update child definitions.
      89482: ACE-2904: Localised labels for type, aspect and property definitions are no longer returned
         - Fix that updates property\properties of type definition. Unit test was added that checks for update children type defs and properties.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89587 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-31 08:49:17 +00:00
Pavel Yurke
a445c6bf80 Merged DEV to HEAD (5.0.0)
88615: ACE-2904: Localised labels for type, aspect and property definitions are no longer returned
      - Fix for side effect of ACE-1996, when initial title/description resolving was removed. Now, it will be resolved, when we are going to get type definition for the first time. Appropriate unit test was added.

   89240: ACE-3322: CMIS Types have lost display names - breaks workbench 
      - Update child definitions.

   89482: ACE-2904: Localised labels for type, aspect and property definitions are no longer returned
      - Fix that updates property\properties of type definition. Unit test was added that checks for update children type defs and properties.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89542 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-30 13:48:37 +00:00
Pavel Yurke
200b3c4ff3 Revert of R 88659 ACE-2904
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89267 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-28 09:57:02 +00:00
Pavel Yurke
c9dbaa773a ACE-2224: Merged DEV to HEAD (5.0/Cloud)
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
2014-10-24 14:52:08 +00:00
Pavel Yurke
6b1b075584 ACE-2224: Reverse Merge HEAD (5.0/Cloud)
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
2014-10-22 12:30:57 +00:00
Kevin Roast
9376ec3b44 ACE-3175
- First part, fix embarrassing spelling mistakes in public API methods and bean settings.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88884 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-22 09:13:24 +00:00
Pavel Yurke
338aa7904d Merged DEV to HEAD (5.0.0)
88615: ACE-2904: Localised labels for type, aspect and property definitions are no longer returned
      - Fix for side effect of ACE-1996, when initial title/description resolving was removed. Now, it will be resolved, when we are going to get type definition for the first time. Appropriate unit test was added.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88659 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-17 16:45:37 +00:00
Jamal Kaabi-Mofrad
9b4a83ac2d Added UNIT tests for the SpellCheckDecisionManager class.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88630 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-17 12:53:48 +00:00
Ahmed Owian
f16b1ac567 ACE-3121: Workflow Admin Console: Cannot change priority for activiti
- Removed priority value validation.  Just checked the type.
   - TODO: Determine if DelegateTask also needs similar handling

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88560 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-16 21:50:10 +00:00
Ahmed Owian
24560c0afd ACE-3121: Workflow Admin Console: Cannot change priority for activiti
- Handled priority property for Task
   - Determine if DelegateTask also needs similar handling

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88557 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-16 21:34:08 +00:00
Derek Hulley
c5ac017dfb ACE-2030: Remove some patches for V3.1, including Version store migrator
- Deprecated VersionStore V1 is no longer usable by any means
 - Various scripts and other patches retired


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@87775 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-10 17:12:57 +00:00
Jamal Kaabi-Mofrad
76361fbf61 ACE-3083: Fixed facets reordering/retrieving when a default facet is removed from the config file, but it has already been persisted.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@87764 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-10 16:31:50 +00:00
Jamal Kaabi-Mofrad
37309f11d7 Removed "cm:description" facet from the default filters.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@87669 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-09 12:19:30 +00:00
Ahmed Owian
b6cf2c6513 ACE-2092: EOL Lucene
- Renamed lucene to buildonly in tests
   - TODO:
   - Add to ERROR message about upgrading to Solr

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@86431 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-03 16:32:35 +00:00
Alex Mukha
0c9de67714 Merged DEV (5.0.0) to HEAD (5.0/Cloud)
86091: ACE-1061 : SQL Server: ArchiveAndRestoreTest.testListArchivedNodesFilter fails
   Disabled case-sensitive filtering as not required.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@86359 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-03 06:17:59 +00:00
Pavel Yurke
7cf754053f Merged DEV to HEAD (5.0)
85993 : ACE-2181 : Non-owner cannot execute cancel editing for content
      - Tests changes according to new lock store behavior 
   86133 : ACE-2181 : Non-owner cannot execute cancel editing for content
      - Added test case - attempt to unlock node by user who has ALL_PERMISSIONS 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@86239 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-02 09:43:43 +00:00