mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
cfc9c6988f56c12e1e010f90e024452aa072d6ac
- issue title: Copy/Move/Link actions don't take place and errors are thrown when running rules that perform them. - regression caused by RM-2072 merged forward from v2.2 - the retrying transaction helper was missing from copyTo, moveTo and linkTo beans and was causing NullPointerException - createOrResolvePath method calls getContext on a node created in the current transaction which is not visible in the new transaction and it throws a FileNotFoundException - solution: I moved the creation of the new transaction after the context was retrieved as the concurrency exception reported in RM-2072 was being caused by property updates
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
Description
Languages
Java
96.2%
Fluent
1.1%
JavaScript
1%
HTML
0.5%
FreeMarker
0.4%
Other
0.6%