Projet

General

Profil

Cannot create new item [Closed]

Ajouté par Tim Wuu il y a presque 12 ans

I think I have the amp files installed correctly and I was able to go to "http://localhost:8080/share/page/model-designer" to the designer page. However, whenever I click on "New Item" button there is always an error message like the following:

Could not load dialog template from '/share/service/modules/model-designer/create-element?currentType=m2:model&assocType=m2:types'.

I'm using Windows 4.0d and latest 0.1.4.c package.

Here is what I see in the log file:

ERROR [extensions.webscripts.AbstractRuntime] [http-8080-15] Exception from executeScript - redirecting to status template error: 06030009 Failed to execute script 'classpath*:alfresco/site-webscripts/org/alfresco/modules/model-designer/create-element.get.js': 06030008 TypeError: Cannot call method "getChildren" of null (file:/C:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/model-designer/create-element.get.js#17)
 org.springframework.extensions.webscripts.WebScriptException: 06030009 Failed to execute script 'classpath*:alfresco/site-webscripts/org/alfresco/modules/model-designer/create-element.get.js': 06030008 TypeError: Cannot call method "getChildren" of null (file:/C:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/model-designer/create-element.get.js#17)

If anyone can offer any help I would greatly appreciated. Thank you.


Réponses (1)

RE: Cannot create new item - Ajouté par Tim Wuu il y a presque 12 ans

I think there was a problem with my initial installation of the amps. I retried it using apply_amps.bat this time and it seems to be working fine. Thanks for a great component.

    (1-1/1)