-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 4.1.N
-
Fix Version/s: 5.1.1
-
Component/s: Content Modelling, Repository
-
Labels:
-
Bug Priority:
Here's an example. Put both files in shared/classes/alfresco/extension and restart the repo (or alternatively try to activate as a dynamic model - via Share UI or Repo Admin console). Repo will hang (in CompiledModel.resolveInhertiance).
my-model-context.xml
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'> <beans> <bean id="my.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap"> <property name="models"> <list> <value>alfresco/extension/custom-model.xml</value> </list> </property> </bean> </beans>
my-model.xml
<model xmlns="http://www.alfresco.org/model/dictionary/1.0" name="myZ:myModel"> <namespaces> <namespace uri="myZ.model" prefix="myZ"/> </namespaces> <types> <type name="myZ:mytypeA"> <parent>myZ:mytypeC</parent> </type> <type name="myZ:mytypeB"> <parent>myZ:mytypeA</parent> </type> <type name="myZ:mytypeC"> <parent>myZ:mytypeA</parent> </type> </types> </model>
- is related to by
-
SHA-1573 Share Repository view for (Dynamic) Models: show error message on Edit Properties -> Save (if model is "invalid")
-
- Done
-