mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
. Patch to load email templates content into older schema (first patch to perform an import)
. Updated schema version to 10 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2540 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -79,6 +79,10 @@
|
||||
<prop key="path">/${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.templates.content.childname}</prop>
|
||||
<prop key="location">alfresco/templates/content_template_examples.xml</prop>
|
||||
</props>
|
||||
<props>
|
||||
<prop key="path">/${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.templates.email.childname}</prop>
|
||||
<prop key="location">alfresco/templates/email_templates.acp</prop>
|
||||
</props>
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
@@ -47,3 +47,6 @@ patch.forumsIcons.result=Updated {0} icon references
|
||||
patch.emailTemplatesFolder.description=Ensures the existence of the 'Email Templates' folder.
|
||||
patch.emailTemplatesFolder.result.exists=The email templates folder already exists: {0}
|
||||
patch.emailTemplatesFolder.result.created=The email templates folder was successfully created: {0}
|
||||
|
||||
patch.emailTemplatesContent.description=Loads the email templates into the Email Templates folder.
|
||||
patch.emailTemplatesContent.result=Imported the Email Templates into the default folder.
|
||||
|
@@ -307,5 +307,28 @@
|
||||
<ref bean="bootstrapSpacesMessageSource" />
|
||||
</property>
|
||||
</bean>
|
||||
<bean id="patch.emailTemplatesContent" class="org.alfresco.repo.admin.patch.impl.EmailTemplatesContentPatch" parent="patch.savedSearches.Base" >
|
||||
<property name="id"><value>patch.emailTemplatesContent</value></property>
|
||||
<property name="description"><value>patch.emailTemplatesContent.description</value></property>
|
||||
<property name="fixesFromSchema"><value>0</value></property>
|
||||
<property name="fixesToSchema"><value>9</value></property>
|
||||
<property name="targetSchema"><value>10</value></property>
|
||||
<property name="templatesACP"><value>alfresco/templates/email_templates.acp</value></property>
|
||||
<!-- helper beans for execution -->
|
||||
<property name="messageSource">
|
||||
<ref bean="bootstrapSpacesMessageSource" />
|
||||
</property>
|
||||
<property name="importerService">
|
||||
<ref bean="importerComponent" />
|
||||
</property>
|
||||
<property name="authenticationComponent">
|
||||
<ref bean="authenticationComponent" />
|
||||
</property>
|
||||
<property name="dependsOn">
|
||||
<list>
|
||||
<ref bean="patch.emailTemplatesFolder" />
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
</beans>
|
||||
|
BIN
config/alfresco/templates/email_templates.acp
Normal file
BIN
config/alfresco/templates/email_templates.acp
Normal file
Binary file not shown.
@@ -15,4 +15,4 @@ version.edition=Community Network
|
||||
|
||||
# Schema number
|
||||
|
||||
version.schema=9
|
||||
version.schema=10
|
||||
|
Reference in New Issue
Block a user