mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
86236f3d27816f55267efb9ced0b4c229f6bea6f
Feature 2.4/rm 3283 outlook integration email with attachments RM-3283 - Outlook Integration:Emails cannot be added to Unfiled Records (having a rule set) using Alfresco Outlook Integration When adding emails with attachments in alfresco a hidden folder of type wpsmail-v2:attachment-folder (subtype of cm:folder) is added to hold the attachment files. When such an email is added in Unfilled Records container the RecordsManagementContainerType.onCreateChildAssociation policy is fired which transforms any subtype of folder into a record folder. When the rule tries to file this folder in another record folder we get an exception from trying to add a record folder in another record folder. To fix this issue I added an extra check to avoid applying the conversion rule on hidden nodes. I also added a unit test for both hidden and non hidden folders. See merge request !123
Configuring and starting Alfresco/Share: ---------------------------------------- - Clone the project (e.g. git clone git@gitlab.alfresco.com:records-management/records-management.git) - Import the project as a maven project - Start the Alfresco/Share instances with the following commands: mvn clean install -Pstart-repo mvn clean install -Pstart-share Configuring a different DB other than H2 (e.g. MySQL or PostgreSQL): -------------------------------------------------------------------- - Create a file called "local.properties" under src/main/resources in alfresco-rm-enterprise-repo - Add the following properties in this new file my.db.name -> The name of the database schema my.db.port -> The port number for your database (default port number for postgres is 5432 and for mysql it is 3306) - Run the following commands to start your Alfresco instance: to start Alfresco (using Postgres): mvn clean install -Pstart-repo,use-postgres to start Alfresco (using MySQL): mvn clean install -Pstart-repo,use-mysql Running integration test: ------------------------- In order to execute the integration tests run the following command (unit tests will be executed every time before you start Alfresco/Share): mvn clean install -Dskip.integrationtests=false Updating License Headers: ------------------------- In order to refesh out of date license source headers run the following command: mvn clean install -Dlicense.update.dryrun=false
Description
Languages
Java
96.2%
Fluent
1.1%
JavaScript
1%
HTML
0.5%
FreeMarker
0.4%
Other
0.6%