From ccc117ed50e0e52317a8cc538399dfef79d5e1b2 Mon Sep 17 00:00:00 2001 From: alfresco-build Date: Tue, 2 May 2017 08:13:41 +0100 Subject: [PATCH 1/9] [maven-release-plugin] prepare release V2.5.2-EA1 --- pom.xml | 5 +++-- rm-automation/pom.xml | 2 +- rm-community/pom.xml | 2 +- rm-community/rm-community-repo/pom.xml | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index eca2b926d2..52cd003d7b 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.alfresco alfresco-rm pom - 2.5.2-SNAPSHOT + 2.5.2-EA1 Alfresco Records Management @@ -24,7 +24,8 @@ scm:git:https://git.alfresco.com/records-management/records-management.git scm:git:https://git.alfresco.com/records-management/records-management.git https://git.alfresco.com/records-management/records-management - + V2.5.2-EA1 + JIRA diff --git a/rm-automation/pom.xml b/rm-automation/pom.xml index 1e82d8ca5a..c493077ea1 100644 --- a/rm-automation/pom.xml +++ b/rm-automation/pom.xml @@ -8,7 +8,7 @@ org.alfresco alfresco-rm - 2.5.2-SNAPSHOT + 2.5.2-EA1 diff --git a/rm-community/pom.xml b/rm-community/pom.xml index 43bb9e188a..edb7e0e1c4 100644 --- a/rm-community/pom.xml +++ b/rm-community/pom.xml @@ -8,7 +8,7 @@ org.alfresco alfresco-rm - 2.5.2-SNAPSHOT + 2.5.2-EA1 diff --git a/rm-community/rm-community-repo/pom.xml b/rm-community/rm-community-repo/pom.xml index 3d1fa7be44..dd8be1eac4 100644 --- a/rm-community/rm-community-repo/pom.xml +++ b/rm-community/rm-community-repo/pom.xml @@ -9,7 +9,7 @@ org.alfresco alfresco-rm-community - 2.5.2-SNAPSHOT + 2.5.2-EA1 From 6ac173c85e862992bd77932261036f4c22a17cb8 Mon Sep 17 00:00:00 2001 From: alfresco-build Date: Tue, 2 May 2017 08:13:44 +0100 Subject: [PATCH 2/9] [maven-release-plugin] prepare for next development iteration --- pom.xml | 4 ++-- rm-automation/pom.xml | 2 +- rm-community/pom.xml | 2 +- rm-community/rm-community-repo/pom.xml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 52cd003d7b..57e6bdd1d7 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.alfresco alfresco-rm pom - 2.5.2-EA1 + 2.5.2-SNAPSHOT Alfresco Records Management @@ -24,7 +24,7 @@ scm:git:https://git.alfresco.com/records-management/records-management.git scm:git:https://git.alfresco.com/records-management/records-management.git https://git.alfresco.com/records-management/records-management - V2.5.2-EA1 + HEAD diff --git a/rm-automation/pom.xml b/rm-automation/pom.xml index c493077ea1..1e82d8ca5a 100644 --- a/rm-automation/pom.xml +++ b/rm-automation/pom.xml @@ -8,7 +8,7 @@ org.alfresco alfresco-rm - 2.5.2-EA1 + 2.5.2-SNAPSHOT diff --git a/rm-community/pom.xml b/rm-community/pom.xml index edb7e0e1c4..43bb9e188a 100644 --- a/rm-community/pom.xml +++ b/rm-community/pom.xml @@ -8,7 +8,7 @@ org.alfresco alfresco-rm - 2.5.2-EA1 + 2.5.2-SNAPSHOT diff --git a/rm-community/rm-community-repo/pom.xml b/rm-community/rm-community-repo/pom.xml index dd8be1eac4..3d1fa7be44 100644 --- a/rm-community/rm-community-repo/pom.xml +++ b/rm-community/rm-community-repo/pom.xml @@ -9,7 +9,7 @@ org.alfresco alfresco-rm-community - 2.5.2-EA1 + 2.5.2-SNAPSHOT From 0dea341e0bf7ccbd5339385a9eb32692e8a81b7e Mon Sep 17 00:00:00 2001 From: Ana Bozianu Date: Tue, 2 May 2017 10:53:54 +0300 Subject: [PATCH 3/9] Revert "[maven-release-plugin] prepare for next development iteration" This reverts commit 6ac173c85e862992bd77932261036f4c22a17cb8. --- pom.xml | 4 ++-- rm-automation/pom.xml | 2 +- rm-community/pom.xml | 2 +- rm-community/rm-community-repo/pom.xml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 57e6bdd1d7..52cd003d7b 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.alfresco alfresco-rm pom - 2.5.2-SNAPSHOT + 2.5.2-EA1 Alfresco Records Management @@ -24,7 +24,7 @@ scm:git:https://git.alfresco.com/records-management/records-management.git scm:git:https://git.alfresco.com/records-management/records-management.git https://git.alfresco.com/records-management/records-management - HEAD + V2.5.2-EA1 diff --git a/rm-automation/pom.xml b/rm-automation/pom.xml index 1e82d8ca5a..c493077ea1 100644 --- a/rm-automation/pom.xml +++ b/rm-automation/pom.xml @@ -8,7 +8,7 @@ org.alfresco alfresco-rm - 2.5.2-SNAPSHOT + 2.5.2-EA1 diff --git a/rm-community/pom.xml b/rm-community/pom.xml index 43bb9e188a..edb7e0e1c4 100644 --- a/rm-community/pom.xml +++ b/rm-community/pom.xml @@ -8,7 +8,7 @@ org.alfresco alfresco-rm - 2.5.2-SNAPSHOT + 2.5.2-EA1 diff --git a/rm-community/rm-community-repo/pom.xml b/rm-community/rm-community-repo/pom.xml index 3d1fa7be44..dd8be1eac4 100644 --- a/rm-community/rm-community-repo/pom.xml +++ b/rm-community/rm-community-repo/pom.xml @@ -9,7 +9,7 @@ org.alfresco alfresco-rm-community - 2.5.2-SNAPSHOT + 2.5.2-EA1 From b493bb666254fe73de37912bcf1daa8776df9124 Mon Sep 17 00:00:00 2001 From: Ana Bozianu Date: Tue, 2 May 2017 10:54:12 +0300 Subject: [PATCH 4/9] Revert "[maven-release-plugin] prepare release V2.5.2-EA1" This reverts commit ccc117ed50e0e52317a8cc538399dfef79d5e1b2. --- pom.xml | 5 ++--- rm-automation/pom.xml | 2 +- rm-community/pom.xml | 2 +- rm-community/rm-community-repo/pom.xml | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index 52cd003d7b..eca2b926d2 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.alfresco alfresco-rm pom - 2.5.2-EA1 + 2.5.2-SNAPSHOT Alfresco Records Management @@ -24,8 +24,7 @@ scm:git:https://git.alfresco.com/records-management/records-management.git scm:git:https://git.alfresco.com/records-management/records-management.git https://git.alfresco.com/records-management/records-management - V2.5.2-EA1 - + JIRA diff --git a/rm-automation/pom.xml b/rm-automation/pom.xml index c493077ea1..1e82d8ca5a 100644 --- a/rm-automation/pom.xml +++ b/rm-automation/pom.xml @@ -8,7 +8,7 @@ org.alfresco alfresco-rm - 2.5.2-EA1 + 2.5.2-SNAPSHOT diff --git a/rm-community/pom.xml b/rm-community/pom.xml index edb7e0e1c4..43bb9e188a 100644 --- a/rm-community/pom.xml +++ b/rm-community/pom.xml @@ -8,7 +8,7 @@ org.alfresco alfresco-rm - 2.5.2-EA1 + 2.5.2-SNAPSHOT diff --git a/rm-community/rm-community-repo/pom.xml b/rm-community/rm-community-repo/pom.xml index dd8be1eac4..3d1fa7be44 100644 --- a/rm-community/rm-community-repo/pom.xml +++ b/rm-community/rm-community-repo/pom.xml @@ -9,7 +9,7 @@ org.alfresco alfresco-rm-community - 2.5.2-EA1 + 2.5.2-SNAPSHOT From 19c5b095356d5f62bc852d192aebd01394dd0f2c Mon Sep 17 00:00:00 2001 From: alfresco-build Date: Tue, 2 May 2017 09:15:28 +0100 Subject: [PATCH 5/9] [maven-release-plugin] prepare release V2.5.2-EA1 --- pom.xml | 5 +++-- rm-automation/pom.xml | 2 +- rm-community/pom.xml | 2 +- rm-community/rm-community-repo/pom.xml | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index eca2b926d2..52cd003d7b 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.alfresco alfresco-rm pom - 2.5.2-SNAPSHOT + 2.5.2-EA1 Alfresco Records Management @@ -24,7 +24,8 @@ scm:git:https://git.alfresco.com/records-management/records-management.git scm:git:https://git.alfresco.com/records-management/records-management.git https://git.alfresco.com/records-management/records-management - + V2.5.2-EA1 + JIRA diff --git a/rm-automation/pom.xml b/rm-automation/pom.xml index 1e82d8ca5a..c493077ea1 100644 --- a/rm-automation/pom.xml +++ b/rm-automation/pom.xml @@ -8,7 +8,7 @@ org.alfresco alfresco-rm - 2.5.2-SNAPSHOT + 2.5.2-EA1 diff --git a/rm-community/pom.xml b/rm-community/pom.xml index 43bb9e188a..edb7e0e1c4 100644 --- a/rm-community/pom.xml +++ b/rm-community/pom.xml @@ -8,7 +8,7 @@ org.alfresco alfresco-rm - 2.5.2-SNAPSHOT + 2.5.2-EA1 diff --git a/rm-community/rm-community-repo/pom.xml b/rm-community/rm-community-repo/pom.xml index 3d1fa7be44..dd8be1eac4 100644 --- a/rm-community/rm-community-repo/pom.xml +++ b/rm-community/rm-community-repo/pom.xml @@ -9,7 +9,7 @@ org.alfresco alfresco-rm-community - 2.5.2-SNAPSHOT + 2.5.2-EA1 From 6b1a0e46157e7284b0b29d0a616aa8402ec94b06 Mon Sep 17 00:00:00 2001 From: alfresco-build Date: Tue, 2 May 2017 09:15:31 +0100 Subject: [PATCH 6/9] [maven-release-plugin] prepare for next development iteration --- pom.xml | 4 ++-- rm-automation/pom.xml | 2 +- rm-community/pom.xml | 2 +- rm-community/rm-community-repo/pom.xml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 52cd003d7b..57e6bdd1d7 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.alfresco alfresco-rm pom - 2.5.2-EA1 + 2.5.2-SNAPSHOT Alfresco Records Management @@ -24,7 +24,7 @@ scm:git:https://git.alfresco.com/records-management/records-management.git scm:git:https://git.alfresco.com/records-management/records-management.git https://git.alfresco.com/records-management/records-management - V2.5.2-EA1 + HEAD diff --git a/rm-automation/pom.xml b/rm-automation/pom.xml index c493077ea1..1e82d8ca5a 100644 --- a/rm-automation/pom.xml +++ b/rm-automation/pom.xml @@ -8,7 +8,7 @@ org.alfresco alfresco-rm - 2.5.2-EA1 + 2.5.2-SNAPSHOT diff --git a/rm-community/pom.xml b/rm-community/pom.xml index edb7e0e1c4..43bb9e188a 100644 --- a/rm-community/pom.xml +++ b/rm-community/pom.xml @@ -8,7 +8,7 @@ org.alfresco alfresco-rm - 2.5.2-EA1 + 2.5.2-SNAPSHOT diff --git a/rm-community/rm-community-repo/pom.xml b/rm-community/rm-community-repo/pom.xml index dd8be1eac4..3d1fa7be44 100644 --- a/rm-community/rm-community-repo/pom.xml +++ b/rm-community/rm-community-repo/pom.xml @@ -9,7 +9,7 @@ org.alfresco alfresco-rm-community - 2.5.2-EA1 + 2.5.2-SNAPSHOT From 05b43fb770da6fc75fd7fdcd828d470bfa265f9e Mon Sep 17 00:00:00 2001 From: Rodica Sutu Date: Wed, 3 May 2017 16:46:42 +0300 Subject: [PATCH 7/9] - minor corrections and fix for deleteInvalidNodesUnfiled() --- .../rm/community/requests/gscore/api/RecordFolderAPI.java | 2 +- .../rest/rm/community/recordfolders/RecordFolderTests.java | 4 ++-- .../unfiledrecordfolders/UnfiledRecordsFolderTests.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/rm/community/requests/gscore/api/RecordFolderAPI.java b/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/rm/community/requests/gscore/api/RecordFolderAPI.java index d88d2b3a3f..f993bd8998 100644 --- a/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/rm/community/requests/gscore/api/RecordFolderAPI.java +++ b/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/rm/community/requests/gscore/api/RecordFolderAPI.java @@ -223,7 +223,7 @@ public class RecordFolderAPI extends RMModelRequest /** * Create a record from file resource * - * @param electronicRecordModel {@link Record} for electronic record to be created + * @param recordModel {@link Record} for electronic record to be created * @param recordContent {@link File} pointing to the content of the electronic record to be created * @param recordFolderId The identifier of a record folder * @return newly created {@link Record} diff --git a/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/recordfolders/RecordFolderTests.java b/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/recordfolders/RecordFolderTests.java index 2843995a80..6381fe88f9 100644 --- a/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/recordfolders/RecordFolderTests.java +++ b/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/recordfolders/RecordFolderTests.java @@ -131,7 +131,7 @@ public class RecordFolderTests extends BaseRMRestTest /** *
      * Given that RM site is created
-     * When I use the API to create a children inside a record folder with wron  types
+     * When I use the API to create a children of wrong type inside a record folder 
      * Then the operation fails
      * 
*/ @@ -141,7 +141,7 @@ public class RecordFolderTests extends BaseRMRestTest dataProvider = "childrenNotAllowedForFolder" ) - public void createRecordFolderIntoSpecialContainers(String nodeType) throws Exception + public void createInvalidChildrenForFolder(String nodeType) throws Exception { //create a record folder RecordCategoryChild folder = createCategoryFolderInFilePlan(); diff --git a/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/unfiledrecordfolders/UnfiledRecordsFolderTests.java b/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/unfiledrecordfolders/UnfiledRecordsFolderTests.java index cfca221474..7e6c18b500 100644 --- a/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/unfiledrecordfolders/UnfiledRecordsFolderTests.java +++ b/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/unfiledrecordfolders/UnfiledRecordsFolderTests.java @@ -106,7 +106,7 @@ public class UnfiledRecordsFolderTests extends BaseRMRestTest { getRestAPIFactory().getUnfiledContainersAPI().getUnfiledContainer(UNFILED_RECORDS_CONTAINER_ALIAS).getId() }, { getRestAPIFactory().getTransferContainerAPI().getTransferContainer(TRANSFERS_ALIAS).getId() }, // an arbitrary record category - { createRootCategory(RECORD_CATEGORY_NAME).getId() }, + { createRootCategory(RECORD_CATEGORY_NAME + getRandomAlphanumeric()).getId() }, // an arbitrary unfiled records folder {createCategoryFolderInFilePlan().getId()}, {createUnfiledContainerChild(UNFILED_RECORDS_CONTAINER_ALIAS, "Unfiled Record " + getRandomAlphanumeric(), CONTENT_TYPE).getId() } From 83bd31894889beb0f2dc998b382b22fb5f4c4a80 Mon Sep 17 00:00:00 2001 From: Ana Bozianu Date: Thu, 4 May 2017 16:36:58 +0300 Subject: [PATCH 8/9] fixed onContentUpdated node not found failure --- .../module/org_alfresco_module_rm/record/RecordServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rm-community/rm-community-repo/source/java/org/alfresco/module/org_alfresco_module_rm/record/RecordServiceImpl.java b/rm-community/rm-community-repo/source/java/org/alfresco/module/org_alfresco_module_rm/record/RecordServiceImpl.java index b69af29123..80efdda107 100644 --- a/rm-community/rm-community-repo/source/java/org/alfresco/module/org_alfresco_module_rm/record/RecordServiceImpl.java +++ b/rm-community/rm-community-repo/source/java/org/alfresco/module/org_alfresco_module_rm/record/RecordServiceImpl.java @@ -1798,7 +1798,7 @@ public class RecordServiceImpl extends BaseBehaviourBean ) public void onContentUpdate(NodeRef nodeRef, boolean newContent) { - if (!nodeService.hasAspect(nodeRef, ContentModel.ASPECT_HIDDEN) && !nodeService.hasAspect(nodeRef, ContentModel.ASPECT_LOCKABLE)) + if (nodeService.exists(nodeRef) && !nodeService.hasAspect(nodeRef, ContentModel.ASPECT_HIDDEN) && !nodeService.hasAspect(nodeRef, ContentModel.ASPECT_LOCKABLE)) { appendIdentifierToName(nodeService, nodeRef); } From 066add969cec30136a23a3f31ebb00e9fbcbfaa2 Mon Sep 17 00:00:00 2001 From: Rodica Sutu Date: Fri, 5 May 2017 15:15:06 +0300 Subject: [PATCH 9/9] fix the createRecordFolderWithRelativePath() test, avoid duplicate record category name --- .../rm/community/recordcategories/RecordCategoryTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/recordcategories/RecordCategoryTests.java b/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/recordcategories/RecordCategoryTests.java index 9d1dfa9a90..92d1073588 100644 --- a/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/recordcategories/RecordCategoryTests.java +++ b/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/recordcategories/RecordCategoryTests.java @@ -488,7 +488,7 @@ public class RecordCategoryTests extends BaseRMRestTest { // The record category to be created RecordCategory recordCategoryModel = RecordCategory.builder() - .name(RECORD_CATEGORY_NAME) + .name(RECORD_CATEGORY_NAME + getRandomAlphanumeric()) .nodeType(RECORD_CATEGORY_TYPE) .build(); FilePlanAPI filePlansAPI = getRestAPIFactory().getFilePlansAPI(); @@ -593,7 +593,7 @@ public class RecordCategoryTests extends BaseRMRestTest { // The record category to be created RecordCategory recordCategoryModel = RecordCategory.builder() - .name(RECORD_CATEGORY_NAME+getRandomAlphanumeric()) + .name(RECORD_CATEGORY_NAME + getRandomAlphanumeric()) .nodeType(RECORD_CATEGORY_TYPE) .build(); FilePlanAPI filePlansAPI = getRestAPIFactory().getFilePlansAPI();