mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Merged V2.1 to HEAD
6499: Duplicate FK removal script fix 6593: Full export/import aspect missing fix 6673: AR-1731JavaScript processTemplate() git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6714 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
-- The MySQL InnoDB Dialect has special support for foreign keys.
|
||||
|
||||
-- Remove pointless duplicated FK indexes
|
||||
ALTER TABLE alf_global_attributes DROP INDEX FK64D0B9CF69B9F16A;
|
||||
ALTER TABLE alf_global_attributes DROP INDEX FK64D0B9CF69B9F16A;(optional)
|
||||
|
||||
--
|
||||
-- Record script finish
|
||||
|
@@ -421,8 +421,8 @@ public class NodeContext extends ElementContext
|
||||
*/
|
||||
public AspectDefinition determineAspect(QName defName)
|
||||
{
|
||||
AspectDefinition def = null;
|
||||
if (nodeAspects.containsKey(defName) == false)
|
||||
AspectDefinition def = nodeAspects.get(defName);
|
||||
if (def == null)
|
||||
{
|
||||
def = getDictionaryService().getAspect(defName);
|
||||
}
|
||||
|
@@ -78,7 +78,11 @@ public class TemplateServiceImpl implements TemplateService
|
||||
* @see org.alfresco.service.cmr.repository.TemplateService#getTemplateProcessor(java.lang.String)
|
||||
*/
|
||||
public TemplateProcessor getTemplateProcessor(String engine)
|
||||
{
|
||||
{
|
||||
if (engine == null)
|
||||
{
|
||||
engine = this.defaultTemplateEngine;
|
||||
}
|
||||
return this.processors.get(engine);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user