AnsweredAssumed Answered

Module not registered from AMP

Question asked by cburghardt on Mar 2, 2008
Latest reply on Mar 2, 2008 by cburghardt
I've an existing extension for Alfresco consisting of a custom model, transformers and client configuration.
I've changed this from the "copy to extension directory" to an AMP but this does not seem to work correctly.
The module is registered upon startup without an error:
[org.alfresco.repo.module.ModuleServiceImpl] Starting module 'inovox.emailextension' version 2.2.
My module config contains the custom model:

   <bean id="inovox_emailextension_dictionaryBootstrap"
      parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
      <property name="models">
         <list>            <value>alfresco/module/inovox/emailextension/context/rfc822.xml</value>
         </list>
      </property>
      <property name="labels">
         <list>            <value>alfresco/module/inovox/emailextension/context/InovoxResourceBundle</value>
         </list>
      </property>
   </bean>
But when I create a new content via webservice of the registered type I get the error:
{http://www.alfresco.org/ws/service/repository/1.0}RepositoryFault:<ns1:errorCode>0</ns1:errorCode><ns1:message>java.lang.IllegalArgumentException: Class {http://www.inovox.de/model/1.0}email has not been defined in the data dictionary</ns1:message>
Any idea what's wrong here?

Outcomes