3365 Commits

Author SHA1 Message Date
Frederik Heremans
cbfdbccabd Fixed test-failure
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@26302 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-03-18 12:22:39 +00:00
N Smith
638ad1b530 Fixed a problem where the Activiti Parallel Review workflow was throwing exceptions because it contained a variable 'review_assignee'.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@26255 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-03-16 21:01:14 +00:00
Gavin Cornwell
d6ad3750e3 Temporarily disabling failing timer test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@26254 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-03-16 19:27:45 +00:00
Gavin Cornwell
55fed98073 Fixed @since tags
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@26218 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-03-15 22:03:32 +00:00
N Smith
823938f1a1 Fixed an issue where localised WorkflowDefinition Title was not being set correctly.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@26217 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-03-15 17:01:34 +00:00
N Smith
babb55d681 Created jbpm-context.xml, extracted from workflow-context.xml to more easily allow switching on/off of jbpm engne. Also added more testing of Task properties on the workflow REST API.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@26214 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-03-15 15:48:55 +00:00
N Smith
988940d979 Fixing build failures caused by ActivitiSprintTest leaving the DB in a dirty state.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@26027 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-03-04 16:12:29 +00:00
N Smith
2980cf9f78 Merging DEV/ACTIVITI_INTEGRATION2 to HEAD
25933: Updated activiti jars to 5.3 release + temporarily disabled query-tests for activtiti
	25932: Fixed failing FormServiceImplTest.
	25930: Fixed ClassCastException and NullPointerException when using JBPM and Activiti tasks in Alfresco Explorer.
	25898: Implemented testGetWorkflows() which tests the methods getWorkflows() getActiveWorkflows() and getCompletedWorkflows() for both workflow engines.
	25888: Fixed failing testOutcome.
	25884: Workflow console fully tested using activiti engine + small bugfixes
	25854: Implemented testGetPathProperties on AbstractWorkflowServiceIntegrationTest. This tests getPathProperties for Activiti and JBPM workflow engines.
	25827: Added lifecycle sample for activiti engine
	25801: Added a new WorkflowRestApiTest testTaskInstancesForWorkflowGet. Also fixed issues with ActivitWorkflowEngine.queryTasks() relating to the start task being returned incorrectly.
	25731: Added timer execution test to verify Authentication and Transactional behavior + added license headers to 2 files
	25682: ALF-6902 delete identitylinks + added timer sample + adhoc notify me feature
	25649: Redeploying of parallel activiti WF's turned of (remainder from development)
	25645: Fixing getWorkflows test, using valid date to check "due before"
	25642: Implemented getPathProperties() on ActivitiWorkflowEngine. Also refactored ActivitiTypeConverter to create ActivitiPropertyConverter which uses a WorkflowPropertyHandlerRegistry.
	25636: Fixes for use of Activiti workflows in JSF client
	25615: Added parallel review and approve process (regular + grouped)
	25520: Added REST-test for review workflow and pooled review workflow for both engines
	25471: Added queryTasks test for both engines
	25397: Testing getTimers() on both engines
	25368: Using authorityName instead of name for candidate-group + fixed priority WF vs. Task mixup in start-task
	25335: F96: A form control for LIST constraint based decision properties in Activiti tasks exists
	25324: Added correct sources for current 5.3-SNAPSHOT
	25323: Implemented TaskQuery further and added extra test-coverage + delete/cancel WF now deletes History as well 
	25318: The signal() method on ActivitiWorkflowEngine now returns a WorkflowPath if the signal ended the WorkflowInstance.
	25300: Fixed start workflow form for Activiti pooled review and approve process definition
	25294: Implemented signal() method on ActivitiWorkflowEngine. Currently it returns null if the signal() ended the Workflowinstance.
	25199: Implemented getTimers() + fixed some issues with the outcome prop name + upgraded to activiti 5.3
	25179: Added support for wf:outcome property on Activiti tasks. Now ian arbitrary property can be set as the property from which outcomes are read.
	25152: Refactored the WorkflowServiceImplTest to create an AbstractWorkflowServiceImplTest. Extended this base test with Jbpm and Activiti implementations.
	25134: Fixed workflowPath node issue on start-task + Task variables are no longer flushed to process-instance variables
	25131: ALF-6901 start task completion date + taskListeners using ScriptService instead of activiti's built-in JSR-223
	25105: Implemented getWorkflows() and getCompletedWorkflows() methods on ActivitiWorkflowEngine.
	25098: Mandatory properties are now checked in TaskCompleteListener to allow setting of mandatory properties in end-task listeners before the check is performed + review-pooled used person to set as bpm_assignee + removed duplicate messageService in ActivitiWE
	25089: Merged ActivitiTaskComponent and ActivitiWorkflowComponent into a single class, ActivitiWorkflowEngine.
	25048: Implemented getStartTask(String) method on WorkflowService interface. This gets the start task instance for a given workflow instance Id. Also, modified the start task returned by the ActivitiTaskComponent so that it has the correct title.
	25028: Added WorkflowDefinitionGet webscript and test + tested WorkflowInstanceDelete and fixed WorkflowTaskDefinition bug
	25003: Added getStartTask() method to WorkflowService. Implemented for JBPMEngine and ActivitiTaskComponent.
	24996: Added activiti process-definition for pooled review/approve workflow + new version of activiti 5.2 to allow releasing task to pool agian
	24972: Extended TaskInstanceGet REST-test + upgraded activiti lib due to bug in HistoricTaskInstance
	24934: Refactored package assignment/creation so that it is now mainly performed by the WOrkflowPackageComponent rather than the WorkflowComponent or TaskComponent. Implemented correct package behaviour for Activiti workflow engine.
	24926: Extended TaskInstancePut REST-test + added extra logic for ignoring tasks for deleted/canceled WF's
	24895: Added new tests to FormServiceImplTest to check TaskFormProcessor correctly transitions tasks with both workflow engines.
	24888: Updated WorkflowRestApiTest, enhanced testing of getTaskInstances
	24861: Updated the FormServiceImplTest so that it includes tests for the TaskFormProcessor using both workflow engines.
	24851: Made WorkflowRestApiTest abstract and created a subtype for activiti and jbpm
	24832: Added integration test to FormServiceImplTest to check WorkflowFormProcessor works correctly with both Activiti and Jbpm engines.
	24829: ALF-6195 Pooled actors are now available on completed tasks
	24806: Added null check for parameters variable
	24805: Cleaned up WorkflowRestAPITest to remove deprecated field access.
	24797: ALF-6016 start-task now contains variables, upgraded to activiti 5.2-SNAPSHOT
	24796: Removed accidentaly checked-in folder
	24795: Share project "Catalina-virtual" into "https://svn.alfresco.com/repos/enterprise/alfresco/BRANCHES/DEV/ACTIVITI_INTEGRATION2/root"
	24780: Created Activiti Review & Approve workflow.
	24702: ALF-6201 cleaned up WOFactory.createInstance + removed candidate group from adhoc WF (pooled task)
	24693: ALF-6438 implemented getWorkflowById for completed workflows + added unittest for getWorkflowById from running and complete processes
	24686: ALF-6195 added formKey (typeDefinition name) to variables to make available in history + added test for getTaskById() for a completed task
	24642: ALF-6003 + ALF-6195 Introduced mapping of WorkfloTask from HistoricTaskInstance and it's variables
	24565: ALF-6016 tested getting start task by id + added initial test for taskQuery
	24560: ALF-6217 implemented and tested pooled actors using activiti-candidate user/group
	24520: ALF-6003 ALF-6014 tested + various minor improvements + TaskTypeEvaluator matchin pattern adjusted to be able to use workflow-detail form for activiti start-tasks
	24417: ALF-6003, ALF-6014 Added tasklisteners to set default task props + flush variables when task ends + running script in tasklistener (to set task-variables in script based on wf-props)
	24399: Merged BRANCHES/V3.4 to BRANCHES/DEV/ACTIVITI_INTEGRATION2:
   24396: Fix for ALF-6126: TaskTypeEvaluator uses task-name instead of taskType-name for node-type matching
	24396: Fix for ALF-6126: TaskTypeEvaluator uses task-name instead of taskType-name for node-type matching
	24334: ALF-6015 ALF-6016: Completing a task implemented + using task-local variables
	24125: ALF-5995 properties passed when starting workflow are stored
	24111: ALF-5974, ALF-5972 Task-update implemented + capturing company-home, initiator and initiator home implemented and tested
	23891: Fixing failing tests in ActivitiWorkflowComponentTest
	23776: Upgraded activiti to 5.0-SNAPSHOT + Introduced error-handling using messages + initial support for HistoricActivity/ProcessInstances
	23600: Removing unneeded folder that was introduced accidentally when reattaching SVN to eclipse
	23599: 
	23298: 
	23250: Rolling back revisions 23212 to 23113 to fix issue with logging in.
	23212: Trying to fix the problem with logging in.
	23200: Added Form config for the Activiti Adhoc Process. Fixed failing tests in ActivitiWorkflowComponentTest.
	23197: Fixed failing tests in WorkflowServiceeImplTest. Updated Activiti jars in 3rdParty.
	23191: Adding Activiti Ahodc Workflow to Workflow Deployer to demonstrate Activiti Workflow/Task..Component integration with UI.
	23129: Copy Activiti JAR files when building WAR and doing exploded deploy
	23113: Implemented ActivitiTaskComponent.getTaskById()
	23079: Created ActivitiTaskComponent and started to implement various task getter methods.
	22890: Added testStartTask to WorkflowServiceImplTests to test that the start task functionality works as required by the Workflow UI.
	22889: Added testStartTask to WorkflowServiceImplTests to test that the start task functionality works as required by the Workflow UI.
	22888: Added testStartTask to WorkflowServiceImplTests to test that the start task functionality works as required by the Workflow UI.
	22887: Added testStartTask to WorkflowServiceImplTests to test that the start task functionality works as required by the Workflow UI.
	22769: Added more functionality to ActivitiWorkflowComponent.startWorkflow.
	22759: Implemented more methods for getting WorkflowDefinitions on ActivitiWorkflowComponent. Also added more functionality to the startWorkflow method.
	22758: Implemented more methods for getting WorkflowDefinitions on ActivitiWorkflowComponent. Also added more functionality to the startWorkflow method.
	22672: Created ActivitiWorkflowComponent and implemented deployDefinition(), undeployDefinition() and isDefinitionDeployed() methods.
	22659: Replacing Activiti Jars
	22359: Added tests to check rollback of transactions in Activiti.
	22358: Got some simple transaction tests working. These test transaction visibility is working properly and also check that rollbacks work correctly.
	22342: Created a patch to add the Activiti tables in.
	22333: Added some simple tests to check if Activiti works using a DataSource and TransactionManager.
	22332: Updating Activiti to the beta release.
	22286: Added Activiti and its dependencies to 3rd Party libraries. Updated JUnit jar to 4.8. Created package org/alfresco/repo/workflow/activiti and added some simple tests to check Activiti integration.
	21879: Branch to develop support for Activiti workflow engine.
	23264: Creating branch ACTIVITI_INTEGRATION2 to merge HEAD back into the existing ACTIVITI_INTEGGRATION branch.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@25984 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-03-02 17:12:35 +00:00
Derek Hulley
835482d064 Merged V3.3-BUG-FIX to HEAD
24179: ALF-6017: During bootstrap rules are being triggered when ModuleServiceImpl.startModules() transaction is committed but there is no authentication at that point.
   Merge fixes ALF-6831: Module startup fails with AuthenticationCredentialsNotFoundException


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@25016 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-01-25 12:02:11 +00:00
Roy Wetherall
cbba972229 Fix merge fail.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24939 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-01-19 21:21:35 +00:00
Roy Wetherall
46c89b3789 Merged V34 to HEAD:
Merged V33 to V34:
     24440: ALF-6114: Rules for updated items are triggered before users commit any changes.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24938 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-01-19 20:07:26 +00:00
Nick Burch
8c500a3cd8 Merged BRANCHES/V3.4 to HEAD:
24356: It's possible for a persisted action to be removed during the transaction, so have the ActionTrackingService ensure the node still exists before doing the async update of the details (ALF-5745)
   24374: ALF-5744 - Retry the add aspect to avoid failures due to concurrent node updates


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24931 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-01-19 15:25:28 +00:00
Jan Vonka
5033166170 Merged BRANCHES/V3.4 to HEAD:
24746: Build/test fix: PostgreSQL -AssetServiceImplTest.renameFolder
   24767: Merged BRANCHES/V3.3 to BRANCHES/V3.4:
        24765: ALF-6547: fix intermittent test failure (AssetServiceImplTest renameFile/renameFolder) - fallout from ALF-1948


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24897 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-01-18 11:14:39 +00:00
Jan Vonka
4224441ffc Merged BRANCHES/DEV/V3.3-BUG-FIX to HEAD:
24001: Merged BRANCHES/DEV/BELARUS/V3.3-2010_11_10 to BRANCHES/DEV/V3.3-BUG-FIX:
        23971: ALF-1948: Deleting a freshly created file doesn't remove it from a user sandbox 
                   - also minor formatting & extra tests
   24007: Merged BRANCHES/DEV/BELARUS/V3.3-2010_11_10 to BRANCHES/DEV/V3.3-BUG-FIX:
         23971: ALF-1948: (commit mergeinfo !)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24896 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-01-18 11:08:43 +00:00
Derek Hulley
265d282b76 Merged V3.4 to HEAD
24791: Fixed ALF-6560: MIME type not detected (set to application/octet-stream) when content written via FileFolderService


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24886 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-01-17 17:02:10 +00:00
Gavin Cornwell
803321fd1c Merged BRANCHES/V3.4 to HEAD:
24065: Fix for ALF-5064: Overriding the config for a form with an edit-form defined appears to lose knowledge of the custom form
   24471: Merged BRANCHES/DEV/BELARUS/V3.4-2010_11_29 to BRANCHES/V3.4:
        24361: ALF-6033: Sharepoint broken on Vista.
   24548: Fix for ALF-6110:Checking out doсument's via MS Office leads to incorrect displaying of document's metadata and for ALF-6113: MP3 files cause an error when viewing the Document Details page
   24601: Fix for ALF-6032: It's impossible to create meeting items

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24879 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-01-17 15:04:37 +00:00
Kevin Roast
95cdff81f5 Merged V3.4 to HEAD
24322: Fix for ALF-5311 - People search by properties is not handling tokenized fields correctly
   24407: Merged V3.3 to V3.4
             24406: Merged PATCHES/V3.3.4 to V3.3
                24405: Fix for ALF-6098 - links display issue encoding link url
   24706: Merged V3.4-BUG-FIX to V3.4
            24705: Fix for ALF-6365, ALF-6335
   24709: Missing first/last name handling.
   24711: Merged V3.3 to V3.4
            24710: ALF-5535 - Fix to correctly format json number values (not as numeric human readable strings)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24871 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-01-17 10:01:29 +00:00
Neil McErlean
338c43af0c Merge from V3.4 to HEAD
r.24479 Merge from V3.3-BUG-FIX to V3.4
  r.24478 Merge from V3.3 to V3.3-BUG-FIX
  r.24477 Fix for ALF-6130. infinite recursion in RenditionServiceImpl.loadRenditionDefinitions(String) 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24866 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-01-17 08:41:30 +00:00
Derek Hulley
c294c6b4fe Merged V3.4 to HEAD (fix for ALF-6558)
23466: Attach causal exception for DuplicateChildNodeNameException (ALF-5488, ALF-5540)
          - Also add savepoints around these updates statements
          - Propagate exception so that we can identify if something else (not duplicate child name) is at fault


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24837 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-01-13 20:56:02 +00:00
Dave Ward
4fd1a07713 ALF-6352: Merged V3.4 to HEAD
24063: Merged V3.3-BUG-FIX to V3.4:
      24050: Merged V3.3 to V3.3-BUG-FIX
             23692: Merged DEV/TEMPORARY to V3.3
             23690: ALF-5576: Cannot write to CIFS when RM is installed.
                    Add missing security levels for ContentService.getStoreTotalSpace and ContentService.getStoreFreeSpace in RM.
                    Remove duplicate entry of ContentService.isTransformable in public-services-security-context.xml.
             23968: ALF-4846: Update rules are firing on inbound actions
      - Fixes duplicate issue ALF-5272: Update rule works incorrecly 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24704 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-01-06 13:52:42 +00:00
Neil McErlean
244fbe1460 Merge from V3.4 to HEAD. Fix for ALF-6192.
r24622 Fix for ALF-6192 alfresco share could not delete file with preview.
      This issue was ultimately caused by the incorrect use of a BeforeDeleteNode policy.
      As a workaround to ALF-4119 a beforeDeleteNode policy was defined in RenditionAspect.java.
      This policy ensured that when path/template-based renditions were deleted, that the parent-child
      association to the source node, which is a non-primary association, was removed. In doing so, future
      calls to renditionService.getRenditions() would not return renditions from the archive store.

      However, this led to the permissions problem observed in this issue.

      It is possible that running the BeforeDeleteNode policy as system could have resolved the problem.
      However an alternative workaround for the deleted renditions problem has been implemented.
      The policy has been removed and instead, the RenditionService filters the results.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24690 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-01-05 14:16:59 +00:00
Gavin Cornwell
5612c8ba1b Merged BRANCHES/V3.4 to HEAD:
24530: ALF-6133 Fixed an issue in JbpmEngine.updateTask() where the added and removed associations were not being handled properly.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24575 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-12-17 11:55:18 +00:00
Mark Rogers
e01738d72c Merge V3.4 to HEAD
23487 : ALF-5539 - Deployment Installer missing I18NUtil
  23607 : ALF-5528 - reworking configuration of "filesystem" target.
  23674 : ALF-5557 - XSS attack occurs on start workflow with XSS properties.
  23684 : ALF-817 - Error occurs when you try to change name of locked file
  24119 : ALF-532 - restore-context.xml.sample is useless

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24362 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-12-09 13:31:25 +00:00
Mark Rogers
9cbca7d313 Merge V3.4 to HEAD
24350: ALF-3584 - SDK missing wss4j dependency
  24351: ALF-3584 - Cleaning up SDK list of libs.   (I think there may be a limit on the size somewhere)
  23343: ALF-3119 - MLText is not fully carried during copy-paste

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24360 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-12-09 11:47:46 +00:00
Derek Hulley
9cc9e975ff Merged V3.4 to HEAD (SQL-level fixes)
23368: Merged V3.3-BUG-FIX to V3.4
      23363: Merged V3.3 to V3.3-BUG-FIX
         23358: (RECORD ONLY) Removed redundant svn:mergeinfo
         23359: Minor I18N fix on patch.updateMimetypes2
         23360: Fixed ALF-3167: Websphere/Db2 SchemaBootstrap.dumpSchema is failing due to result set is closed error
                - SchemaDump uses nested resultset reads, which is incompatible with SchemaBootstrap's auto-commit connection
                - Also pull back some changes to fix MySQL builds after MySQL upgrades
         23361: More patch I18N
         23362: Merged V3.2 to V3.3
            23333: Fixed ALF-5396: Missing FK indexes on non-MySQL databases
            23324: Fixed ALF-5396: Missing FK indexes on non-MySQL databases
            - Create scripts were manually ported and required full clean-install testing in addition to upgrade testing
   23372: Fixed ALF-5421: update_ChildAssocsIndex ibatis statement does not include child_node_id
   23523: Merged BRANCHES/DEV/V3.3-BUG-FIX to BRANCHES/V3.4:
      23490: Merged BRANCHES/V3.3 to BRANCHES/DEV/V3.3-BUG-FIX:
         23470: Merged V3.2 to V3.3
            23395: Merged BRANCHES/DEV/BELARUS/HEAD_2010_09_21 to V32
               22821: ALF-4203: WCM 2.2.7 case-sensitivity causes errors after upgrade to 3.2.x.
               23055: ALF-4203: WCM 2.2.7 case-sensitivity causes errors after upgrade to 3.2.x (record-only, used only part of this checkin).
               23198: ALF-4203: WCM 2.2.7 case-sensitivity causes errors after upgrade to 3.2.x.
            23398: ALF-4203: fix for "WCM 2.2.7 case-senstivity causes err rs after upgrade to 3.2.x"
                   - updated template for patch.eliminateDuplicates
            23433: Fix for ALF-4203: "WCM 2.2.7 case-sensitivity causes errors after upgrade to 3.2.x"
                   - revised fix
   23752: Fixed ALF-5453: Remove old Audit tables from schema create scripts
   23957: Fixed ALF-5308: SQL error when changing name for record / folder with dispostion schedule applied
   24250: Fix typo in original fix of ALF-5308 and add unit test
   24345: Merged V3.3 to V3.4
      24337: Fixed ALF-6078: WCM: alf_lock table version number fails during roll-over.
             - Added specific, minor fixes for 3.4
   24352: Fix SQL fallout from ALF-6078


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24354 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-12-09 01:32:16 +00:00
Brian Remmington
f7098315ec Merged BRANCHES/V3.4 to HEAD:
24304: Fixes: ALF-5990 - updated spring surf lib (r738) with CSS modifications to toolbar to prevent wrapping.
  23557: Merged /BRANCHES/DEV/V3.3-BUG-FIX to BRANCHES/V3.4:
    23556: Merged /BRANCHES/V3.3 to BRANCHES/DEV/V3.3-BUG-FIX:
      23555: Fixes:
         - ALF-5599: TaggingServiceImpl.updateTags obliterates list of tags in "after" properties bag
         - ALF-5589: WQS - Node does not exist exception on upload of new version
  23529: Merged BRANCHES/DEV/V3.3-BUG-FIX to BRANCHES/V3.4
    23525: Merged BRANCHES/V3.3 to BRANCHES/DEV/V3.3-BUG-FIX:
       23505: WQS: Fixes ALF-5524
    Fixed ALF-5300

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24335 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-12-08 14:29:56 +00:00
Derek Hulley
f4bfb9407f Merged V3.4 to HEAD
24331: Fixed ALF-5742: Error when deleting a space


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24332 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-12-08 13:42:24 +00:00
Gavin Cornwell
d317abfa36 Merged BRANCHES/V3.4 to HEAD (to fix ALF-5837)
23478: ALF-5303: Upload new version fails when file uploaded to sub-folder and parent folder has rule for update

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24245 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-12-06 15:36:56 +00:00
Jan Vonka
da8935725d Merged BRANCHES/V3.4 to HEAD:
23440: Resolve ALF-5492 - MT: CMIS getRepositoryInfo fails with "Read-Write transaction started within read-only transaction"


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24230 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-12-06 11:16:38 +00:00
Gavin Cornwell
1c20bf7ded Merged BRANCHES/V3.4 to HEAD:
24143: Fixed licence header

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24153 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-12-02 11:32:28 +00:00
Derek Hulley
0fdc397234 Merged V3.4 to HEAD
24070: Merged DEV/BELARUS/V3.4-2010_11_11 to V3.4
      24011: ALF-5618: Webdav with MAC OS X problems - Locking / unlocking creates new versions
   24101: Disabled test and reopened ALF-5618
   24117: Fixed test inter-dependencies on 'excludedOnUpdateProps' for ALF-5618


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24118 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-12-01 12:23:25 +00:00
Brian Remmington
ad0104be9b Merged BRANCHES/V3.4 to HEAD:
23712: Fixed up fault in unit test introduced by earlier tweaks to the transfer service

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23714 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-11-16 21:18:51 +00:00
Brian Remmington
06a204c13f Merged BRANCHES/V3.4 to HEAD:
23694: Merged BRANCHES/DEV/V3.3-BUG-FIX to BRANCHES/V3.4:
    23682: Merged /BRANCHES/V3.3 to BRANCHES/DEV/V3.3-BUG-FIX:
      23681: Fixes ALF-5699: TransferService: Snapshot file from source repo never contains complete MLText properties

    Also fixed bug that was exposed by the merge relating to incorrect parsing of MLText values in the XMLTransferManifestReader.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23701 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-11-16 17:26:48 +00:00
Brian Remmington
3419d5b067 Merged /BRANCHES/V3.4 to HEAD:
23464: Reinstate transfer test of greek paths.
      - Manifest was being written by FileWriter() which would use default character set.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23662 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-11-16 08:00:52 +00:00
David Caruana
3a3b743f18 Merged BRANCHES/V3.4 to HEAD:
23345: Merged BRANCHES/DEV/DC33E to BRANCHES/V3.4:
        23305: Resolve ALF-5324: SDK is missing alfresco-share-3.4.a.jar
        23306: Resolve ALF-5321: Jar generated in SDK example "CustomAspect" is not correct.
        23307: Resolve ALF-5294: Internal Target throws an exception when try to edit it
        23308: Resolve ALF-5332: Exception in SDK CustomAspect
        23309: Resolve ALF-5162: CMIS Web Services: getTypeDescendants() returns a flat list, not a tree
        23326: Resolve ALF-5039: Change events for documents creation are not returned
   23356: Fix to continuous.xml
   23482: Resolve ALF-5438: Required flag is wrong for most CMIS spec defined property definitions
   23488: Resolve ALF-5439: Updatability of cmis:contentStreamFileName must be read-only
   23501: Resolve ALF-5440: Some property definitions don't have descriptions
   23502: Resolve ALF-5534: Subtypes of F:cm:systemfolder should not be creatable

CMIS fixes for cmis.alfresco.com.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23532 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-11-10 10:38:35 +00:00
Dave Ward
6e66b9ad06 Merged V3.3-BUG-FIX to HEAD
23430: Merged V3.3 to V3.3-BUG-FIX
      23429: Merged PATCHES/V3.2.0 to V3.3
         23428: ALF-5141: Further refinement of transaction limiting behaviour
            - Once accepted a transaction will be retried until it succeeds or the retry limit is exceeded. No limiting of retries by time as otherwise likelihood of any transaction succeeding under load is small
            - Default web transaction threshold is now 20 seconds to avoid problems on non-loaded systems
            - Record stack traces of tracked transactions to help debug slow transactions


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23431 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-11-03 19:28:21 +00:00
Neil McErlean
5d64dbc3e3 Merge from V3.3-BUG-FIX to HEAD
23315: Merge from V3.3 to V3.3-BUG-FIX
    23312: Adding explicit test case for ALF-3991.
    23313: Adding some new test classes to the convenience suite AllRenditionTests.java


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23331 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-28 21:10:52 +00:00
Neil McErlean
d1db3663e4 Fix for ALF-5373 Renditions being generated to the same location (e.g. through use of paths/templates) can lead to incorrect renditions/exceptions.
Added new policy to aspect rn:rendition. Rendition nodes, before deletion, have their non-primary parent assocs removed.  Otherwise the deletion of rendition nodes (which just moves them to the archive store) means that renditionService.getRenditions() returns those deleted assocs.
     Enabled HTMLRenderingEngineTest.testImagesSameFolder test case. Changed it slightly so that it deletes renditions/extracted images between test runs to prevent unwanted overwriting of renditions
     Enabled RenditionServiceIntegrationTest.testRenditionPlacements test case. Fixed the test path to point to /.../filename.txt as it should.
           Rewrote the end of the test to cover the cases where a rendition is attempting to overwrite another.
     Refactoring: renamed numerous private variables to aid readability
     Changes to RenditionNodeManager. If:
           a rendition is to an existing node that is not a rendition OR
           a rendition is to an existing rendition node whose source is not the same as the current one OR
           a rendition is to an existing rendition node whose renditionDef's name has changed
     Then throw an exception. We explicitly disallow these use cases now. We may support them in the future with a "forceOverwrite" option somewhere.
     StandardRenditionLocationResolverImpl now uses a RepositoryHelper to locate CompanyHome rather than a Lucene search
     Extensive debug logging added to the service.
     Added some javadoc


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23330 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-28 21:00:32 +00:00
Dave Ward
f1d8da31b7 Merged V3.3-BUG-FIX to HEAD
23319: Merged V3.3 to V3.3-BUG-FIX
      23318: Merged PATCHES/V3.2.0 to V3.3
         23317: ALF-5141: Fix unit test failure
            - Hopefully bullet-proof thread synchronization.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23320 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-28 00:06:12 +00:00
Nick Burch
0357a73cab Disable the multi threaded tagging test, which sometimes fails on bamboo, but never on workstations. Derek and I now hopefully have enough debugging logs to get to the bottom of this one, so we can stop it periodically breaking the build for now!
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23316 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-27 21:18:33 +00:00
Nick Burch
46f2687483 Tweak a very old unit test for ETHREEOH-220 as advised by Derek, by wrapping one part in a retrying helper
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23299 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-27 12:09:41 +00:00
Neil McErlean
2c64a45a44 Further fix for ALF-3991. Thumbnail generation modifies the source document auditable properties.
There were a couple of code paths missed in the previous check-in for this issue.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23290 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-27 08:01:50 +00:00
Derek Hulley
38dd0ad972 Reverted ALF-1990 and reopened for later fix:
23266: Fix enabler for ALF-1990: BatchProcessWorkProvider calls are made in new, read-only transactions
   23267: ALF-1990: Use NodeService to find nodes to purge


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23287 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-26 16:18:43 +00:00
Nick Burch
45b5fb977b More debugging level logging for tagging updates, to help identify the problem with periodic multi-threaded test failures on bamboo
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23283 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-26 14:41:06 +00:00
Derek Hulley
b0a43c462d Fix ALF-1990: Use NodeService to find nodes to purge
- Ensures that results are consistent with underlying background deletes
 - Needs separate read transactions for the getNextWork calls


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23267 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-26 08:12:09 +00:00
Derek Hulley
7ac35ae7fd Fix enabler for ALF-1990: BatchProcessWorkProvider calls are made in new, read-only transactions
- Allows work provider to have visibility of changes made by worker threads
 - Prevents large queries from being held by the controlling transaction


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23266 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-26 08:06:55 +00:00
Dave Ward
bcf40763a3 Merged V3.3-BUG-FIX to HEAD
23257: Merged V3.3 to V3.3-BUG-FIX
      23224: (RECORD ONLY) MERGE V3.3 BUG FIX to V3.3 
         23199 : imap message test
      23247: Merged HEAD to V3.3
         23246: Fix for ALF-5032: findAuthorities() getting slow when many groups are created.
            - moved to PARENT driven queries where possible in preference to PATH
      23255: Merged PATCHES/V3.2.0 to V3.3
         23252: ALF-5141, ALF-5302, ALF-5281: Improved transaction limiting mechanism
            - No ceiling. Just monitor transaction start times and reject new transactions when the oldest transaction is older than the threshold.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23258 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-25 14:30:27 +00:00
Nick Burch
2709b5fe47 Add a (currently disabled) unit test for how the rendition service handles nodes already being there / not there when running a rendition
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23248 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-25 11:22:28 +00:00
Andrew Hind
d6ab28e189 Fix for ALF-5032: findAuthorities() getting slow when many groups are created.
- moved to PARENT driven queries where possible in preference to PATH

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23246 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-25 09:40:00 +00:00
Derek Hulley
1856b4eeae Fail earlier and more explicitly if 'Scheduled Actions' is not available
- Avoid null NodeRef being passed around
 - Looking at http://forums.alfresco.com/en/viewtopic.php?p=102856


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23242 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-22 23:42:59 +00:00