diff --git a/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/bootstrap/site/surf-config.xml b/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/bootstrap/site/surf-config.xml index 7353ac2930..cac7222746 100644 --- a/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/bootstrap/site/surf-config.xml +++ b/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/bootstrap/site/surf-config.xml @@ -1,194 +1,194 @@ - - - - - - - - - - - surf-config - SpacesStore - en_US_ - workspace - false - - - - - - - - - - - - components - SpacesStore - en_US_ - workspace - false - - - - - - - - - - - - page.title.site~${siteId}~dashboard.xml - SpacesStore - en_US_ - contentUrl=surf-config/content0.bin|mimetype=application/octet-stream|size=260|encoding=UTF-8|locale=en_US_ - workspace - false - - - - - - - - - - - page.navigation.site~${siteId}~dashboard.xml - SpacesStore - en_US_ - contentUrl=surf-config/content1.bin|mimetype=application/octet-stream|size=280|encoding=UTF-8|locale=en_US_ - workspace - false - - - - - - - - - - - page.component-1-1.site~${siteId}~dashboard.xml - SpacesStore - en_US_ - contentUrl=surf-config/content2.bin|mimetype=application/octet-stream|size=326|encoding=UTF-8|locale=en_US_ - workspace - false - - - - - - - - - - - page.component-2-1.site~${siteId}~dashboard.xml - SpacesStore - en_US_ - contentUrl=surf-config/content3.bin|mimetype=application/octet-stream|size=270|encoding=UTF-8|locale=en_US_ - workspace - false - - - - - - - - - - - page.component-2-2.site~${siteId}~dashboard.xml - SpacesStore - en_US_ - contentUrl=surf-config/content4.bin|mimetype=application/octet-stream|size=272|encoding=UTF-8|locale=en_US_ - workspace - false - - - - - - - - - - - - - - pages - SpacesStore - en_US_ - workspace - false - - - - - - - - - - - - site - SpacesStore - en_US_ - workspace - false - - - - - - - - - - - - ${siteId} - SpacesStore - en_US_ - workspace - false - - - - - - - - - - - - dashboard.xml - SpacesStore - en_US_ - contentUrl=surf-config/content5.bin|mimetype=application/octet-stream|size=481|encoding=UTF-8|locale=en_US_ - workspace - false - - - - - - - - - - - - - - - + + + + + + + + + + + surf-config + SpacesStore + en_US_ + workspace + false + + + + + + + + + + + + components + SpacesStore + en_US_ + workspace + false + + + + + + + + + + + + page.title.site~${siteId}~dashboard.xml + SpacesStore + en_US_ + contentUrl=surf-config/content0.bin|mimetype=application/octet-stream|size=260|encoding=UTF-8|locale=en_US_ + workspace + false + + + + + + + + + + + page.navigation.site~${siteId}~dashboard.xml + SpacesStore + en_US_ + contentUrl=surf-config/content1.bin|mimetype=application/octet-stream|size=280|encoding=UTF-8|locale=en_US_ + workspace + false + + + + + + + + + + + page.component-1-1.site~${siteId}~dashboard.xml + SpacesStore + en_US_ + contentUrl=surf-config/content2.bin|mimetype=application/octet-stream|size=326|encoding=UTF-8|locale=en_US_ + workspace + false + + + + + + + + + + + page.component-2-1.site~${siteId}~dashboard.xml + SpacesStore + en_US_ + contentUrl=surf-config/content3.bin|mimetype=application/octet-stream|size=270|encoding=UTF-8|locale=en_US_ + workspace + false + + + + + + + + + + + page.component-2-2.site~${siteId}~dashboard.xml + SpacesStore + en_US_ + contentUrl=surf-config/content4.bin|mimetype=application/octet-stream|size=272|encoding=UTF-8|locale=en_US_ + workspace + false + + + + + + + + + + + + + + pages + SpacesStore + en_US_ + workspace + false + + + + + + + + + + + + site + SpacesStore + en_US_ + workspace + false + + + + + + + + + + + + ${siteId} + SpacesStore + en_US_ + workspace + false + + + + + + + + + + + + dashboard.xml + SpacesStore + en_US_ + contentUrl=surf-config/content5.bin|mimetype=application/octet-stream|size=481|encoding=UTF-8|locale=en_US_ + workspace + false + + + + + + + + + + + + + + + diff --git a/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/bootstrap/site/surf-config/content0.bin b/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/bootstrap/site/surf-config/content0.bin index b35212be51..39e5ce4c50 100644 --- a/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/bootstrap/site/surf-config/content0.bin +++ b/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/bootstrap/site/surf-config/content0.bin @@ -1,9 +1,9 @@ - - - - page.title.site~${siteId}~dashboard - page - title - site/${siteId}/dashboard - /components/title/collaboration-title - + + + + page.title.site~${siteId}~dashboard + page + title + site/${siteId}/dashboard + /components/title/collaboration-title + diff --git a/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/bootstrap/site/surf-config/content1.bin b/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/bootstrap/site/surf-config/content1.bin index 60826b91f2..f02b325028 100644 --- a/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/bootstrap/site/surf-config/content1.bin +++ b/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/bootstrap/site/surf-config/content1.bin @@ -1,9 +1,9 @@ - - - - page.navigation.site~${siteId}~dashboard - page - navigation - site/${siteId}/dashboard - /components/navigation/collaboration-navigation - + + + + page.navigation.site~${siteId}~dashboard + page + navigation + site/${siteId}/dashboard + /components/navigation/collaboration-navigation + diff --git a/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/bootstrap/site/surf-config/content2.bin b/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/bootstrap/site/surf-config/content2.bin index 12a81426c2..f0702153f5 100644 --- a/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/bootstrap/site/surf-config/content2.bin +++ b/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/bootstrap/site/surf-config/content2.bin @@ -1,12 +1,12 @@ - - - - page.component-1-1.site~${siteId}~dashboard - page - component-1-1 - site/${siteId}/dashboard - /components/dashlets/colleagues - - 504 - - + + + + page.component-1-1.site~${siteId}~dashboard + page + component-1-1 + site/${siteId}/dashboard + /components/dashlets/colleagues + + 504 + + diff --git a/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/bootstrap/site/surf-config/content3.bin b/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/bootstrap/site/surf-config/content3.bin index 1c5dd174c0..9b7378c963 100644 --- a/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/bootstrap/site/surf-config/content3.bin +++ b/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/bootstrap/site/surf-config/content3.bin @@ -1,9 +1,9 @@ - - - - page.component-2-1.site~${siteId}~dashboard - page - component-2-1 - site/${siteId}/dashboard - /components/dashlets/docsummary - + + + + page.component-2-1.site~${siteId}~dashboard + page + component-2-1 + site/${siteId}/dashboard + /components/dashlets/docsummary + diff --git a/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/bootstrap/site/surf-config/content4.bin b/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/bootstrap/site/surf-config/content4.bin index c8781e5292..2d07e1d2ac 100644 --- a/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/bootstrap/site/surf-config/content4.bin +++ b/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/bootstrap/site/surf-config/content4.bin @@ -1,9 +1,9 @@ - - - - page.component-2-2.site~${siteId}~dashboard - page - component-2-2 - site/${siteId}/dashboard - /components/dashlets/activityfeed - + + + + page.component-2-2.site~${siteId}~dashboard + page + component-2-2 + site/${siteId}/dashboard + /components/dashlets/activityfeed + diff --git a/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/bootstrap/site/surf-config/content5.bin b/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/bootstrap/site/surf-config/content5.bin index 1036e4456f..b11c5990c1 100644 --- a/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/bootstrap/site/surf-config/content5.bin +++ b/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/bootstrap/site/surf-config/content5.bin @@ -1,14 +1,14 @@ - - - - Records Management Site Dashboard - page.rmSiteDashboard.title - Records Management site's dashboard page - page.rmSiteDashboard.description - dashboard-2-columns-wide-right - user - - [{"pageId":"documentlibrary"}, {"pageId":"rm-search"}] - {"documentlibrary":{"titleId":"page.rmDocumentLibrary.title", "descriptionId":"page.rmDocumentLibrary.description", "type":"dod5015"}} - - + + + + Records Management Site Dashboard + page.rmSiteDashboard.title + Records Management site's dashboard page + page.rmSiteDashboard.description + dashboard-2-columns-wide-right + user + + [{"pageId":"documentlibrary"}, {"pageId":"rm-search"}] + {"documentlibrary":{"titleId":"page.rmDocumentLibrary.title", "descriptionId":"page.rmDocumentLibrary.description", "type":"dod5015"}} + + diff --git a/rm-community/rm-community-repo/unit-test/java/org/alfresco/rm/rest/api/impl/RMSitesImplUnitTest.java b/rm-community/rm-community-repo/unit-test/java/org/alfresco/rm/rest/api/impl/RMSitesImplUnitTest.java index e3288489ad..228fb2ae37 100644 --- a/rm-community/rm-community-repo/unit-test/java/org/alfresco/rm/rest/api/impl/RMSitesImplUnitTest.java +++ b/rm-community/rm-community-repo/unit-test/java/org/alfresco/rm/rest/api/impl/RMSitesImplUnitTest.java @@ -222,7 +222,7 @@ public class RMSitesImplUnitTest extends BaseUnitTest //mock Parameters Parameters mockedParameters = mock(Parameters.class); - when(mockedParameters.getParameter(PARAM_SKIP_ADDTOFAVORITES)).thenReturn("true"); + when(mockedParameters.getParameter(PARAM_SKIP_ADDTOFAVORITES)).thenReturn(Boolean.toString(true)); //call createRMSite method rmSitesImpl.createRMSite(toCreate, mockedParameters); diff --git a/rm-community/rm-community-repo/unit-test/java/org/alfresco/rm/rest/api/sites/RMSiteEntityResourceUnitTest.java b/rm-community/rm-community-repo/unit-test/java/org/alfresco/rm/rest/api/sites/RMSiteEntityResourceUnitTest.java index e8185f68b0..23360a12be 100644 --- a/rm-community/rm-community-repo/unit-test/java/org/alfresco/rm/rest/api/sites/RMSiteEntityResourceUnitTest.java +++ b/rm-community/rm-community-repo/unit-test/java/org/alfresco/rm/rest/api/sites/RMSiteEntityResourceUnitTest.java @@ -142,7 +142,7 @@ public class RMSiteEntityResourceUnitTest extends BaseUnitTest { String siteId = RM_SITE_ID; Params parameters = mock(Params.class); - when(parameters.getParameter(PERMANENT_PARAMETER)).thenReturn("true"); + when(parameters.getParameter(PERMANENT_PARAMETER)).thenReturn(Boolean.toString(true)); try { rmSiteEntityResource.delete(siteId, parameters);