AnsweredAssumed Answered

Registration of new models in Alfresco 2.0

Question asked by jonas on Apr 25, 2007
There is an error in custom-model-context.xml (in UNIX/Linux). If this version was deployed in UNIX/Linux, the claim model will never be recognized.

<bean id="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
        <property name="models">
            <list>
                <value>alfresco\extension\claimsWorkFlowModel.xml</value>         <value>alfresco\extension\claimsContentModel.xml</value>
            </list>
        </property>
    </bean>

Correct one

<bean id="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
        <property name="models">
            <list>
                <value>alfresco/extension/claimsWorkFlowModel.xml</value>         <value>alfresco/extension/claimsContentModel.xml</value>
            </list>
        </property>
    </bean>

Thanks

Jonas Yuan

CIGNEX
http://www.cignex.com
Alfresco SI Partner

Outcomes