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.
|
-- The MySQL InnoDB Dialect has special support for foreign keys.
|
||||||
|
|
||||||
-- Remove pointless duplicated FK indexes
|
-- 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
|
-- Record script finish
|
||||||
|
@@ -421,8 +421,8 @@ public class NodeContext extends ElementContext
|
|||||||
*/
|
*/
|
||||||
public AspectDefinition determineAspect(QName defName)
|
public AspectDefinition determineAspect(QName defName)
|
||||||
{
|
{
|
||||||
AspectDefinition def = null;
|
AspectDefinition def = nodeAspects.get(defName);
|
||||||
if (nodeAspects.containsKey(defName) == false)
|
if (def == null)
|
||||||
{
|
{
|
||||||
def = getDictionaryService().getAspect(defName);
|
def = getDictionaryService().getAspect(defName);
|
||||||
}
|
}
|
||||||
|
@@ -78,7 +78,11 @@ public class TemplateServiceImpl implements TemplateService
|
|||||||
* @see org.alfresco.service.cmr.repository.TemplateService#getTemplateProcessor(java.lang.String)
|
* @see org.alfresco.service.cmr.repository.TemplateService#getTemplateProcessor(java.lang.String)
|
||||||
*/
|
*/
|
||||||
public TemplateProcessor getTemplateProcessor(String engine)
|
public TemplateProcessor getTemplateProcessor(String engine)
|
||||||
{
|
{
|
||||||
|
if (engine == null)
|
||||||
|
{
|
||||||
|
engine = this.defaultTemplateEngine;
|
||||||
|
}
|
||||||
return this.processors.get(engine);
|
return this.processors.get(engine);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user