mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Merged V2.9 to HEAD
9231: Merged V2.2 to V2.9 9207: Merged V2.1 to V2.2 9124: Class behaviour compilation doesn't throw exceptions for missing model class definitions. 9125: Part-fix for ACT-2935: AVMSyncException during index rebuild in AVM 9171: Improvements to I18N freemarker template message() method as supplied by Will Abson 9202: Additional servlet mappings added to example NTLM auth section in web.xml git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9235 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -87,7 +87,8 @@ import org.alfresco.service.namespace.QName;
|
||||
ClassDefinition classDefinition = dictionary.getClass(classQName);
|
||||
if (classDefinition == null)
|
||||
{
|
||||
throw new PolicyException("Class definition " + classQName.toPrefixString() + " does not exist.");
|
||||
// The class definition doesn't exist so there can be no behaviour bound
|
||||
return null;
|
||||
}
|
||||
|
||||
QName parentClassName = classDefinition.getParentName();
|
||||
|
Reference in New Issue
Block a user