Closed GoogleCodeExporter closed 8 years ago
When you are saving that model. Can you use FireBug to see what the response is
and post it back here. I'm going to install a local copy of the AMP posted in
googlecode and see if i can replicate your issue.
Original comment by mike.pri...@abstractive.ca
on 16 May 2012 at 4:02
I have re-installed on my local and everything works as expected. I am about to
upload a new AMP on google code here. Here is a breakdown of what error you are
receiving in regards to the children of null.
File:
classpath:alfresco/templates/webscripts/ca/ab/fm/formsmanagement/utils/locale/al
fresco-locale.js
LINE 5 fmPath.jsonModels = "Data Dictionary/Models/JsonModels/";
LINE 141 var jsonList =
companyhome.childByNamePath(fmPath.jsonModels).children;
If it cannot find the children of null it cannot find Company Home/Data
Dictionary/Models/JsonModels/
Original comment by mike.pri...@abstractive.ca
on 16 May 2012 at 4:17
Hi Mike, I did tryout again, first by removing the previous setup and doing it
from the beginning, This time I did first created company home > data
dictionary, called "Constraints" and "JsonModels", Then I did "java -jar
/path/alfresco-4.0.d/bin/alfresco-mmt.jar install
alf_forms_management_1_2_3.amp alfresco.war -verbose
I am getting the same screen same messages. Today from office also I have tried and at home PC also I am trying,every time I get the same scenario
If I am not getting it correct,in office and at home. I am sure there should be
something wrong in which I am doing
This is the steps which I did in all the installation
(1) java -jar /path/alfresco-4.0.d/bin/alfresco-mmt.jar install
alf_forms_management_1_2_3.amp alfresco.war -verbose
(2) created two spaces under company home > data dictionary, called
"Constraints" and "JsonModels"
(3) restarted the alfreso service
(4) browsed to "http://localhost:8080/alfresco/wcs/form-builder/model-manager"
(5) tried to create a new model, then the same result
*********
Now I tried to search for JsonModels , in the ssytem and I did not get any
result
saji@saji-EP35C-DS3R:~/alfresco-4.0.d/tomcat$ find . -name "JsonModels" -print
saji@saji-EP35C-DS3R:~/alfresco-4.0.d/tomcat$ pwd
/home/saji/alfresco-4.0.d/tomcat
saji@saji-EP35C-DS3R:~/alfresco-4.0.d/tomcat$ find . -name "JsonModels*" -print
saji@saji-EP35C-DS3R:~/alfresco-4.0.d/tomcat$ find . -iname "Models" -print
saji@saji-EP35C-DS3R:~/alfresco-4.0.d/tomcat$ cd ..
saji@saji-EP35C-DS3R:~/alfresco-4.0.d$ find . -name "JsonModels" -print
saji@saji-EP35C-DS3R:~/alfresco-4.0.d$ find . -iname "Models" -print
saji@saji-EP35C-DS3R:~/alfresco-4.0.d$ pwd
/home/saji/alfresco-4.0.d
##############
I am attaching the screen shot of Alfresco, where I have created the two spaces
"Constraints" and "JsonModels"
Original comment by jjk.s...@gmail.com
on 16 May 2012 at 5:33
Attachments:
Ok i can see whats happening. You need to add those space UNDER the models
folder. You have just added them to Company Home/Data Dictionary and not
Company Home/Data Dictionary/Models.
Original comment by mike.pri...@abstractive.ca
on 16 May 2012 at 5:38
Thanks a lots, it is working now, with out any error messages
It was my mistake, THANKS a lot
Original comment by jjk.s...@gmail.com
on 16 May 2012 at 5:54
Attachments:
No problem!
Original comment by mike.pri...@abstractive.ca
on 16 May 2012 at 5:55
Original comment by mike.pri...@abstractive.ca
on 16 May 2012 at 5:55
Original issue reported on code.google.com by
jjk.s...@gmail.com
on 16 May 2012 at 3:53Attachments: