nelsonmp19 / alfresco-form-model-management

Automatically exported from code.google.com/p/alfresco-form-model-management
0 stars 0 forks source link

Model '{x.model}y' does not exists #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create model
2. create aspect
3. build form
4. save

What is the expected output? What do you see instead?
step 1-4 work fine but results in log-message: DictionaryException: "Model 
'{x.model}y does not exist"

What version of the product are you using? On what operating system?
1.1.9, os ubuntu, alfresco ce 4.0.d 

Please provide any additional information below.

Original issue reported on code.google.com by aw...@scapeler.com on 20 Feb 2012 at 9:35

GoogleCodeExporter commented 9 years ago
Hello. I'll gladly look into this, though im having trouble trying to 
re-produce this bug. Could you please send me the following:

<ul>
<li>the error stack trace</li> 
<li>Screenshot of your model properties from the model manager</li>
</ul>

I think it may have something to do with the namespace prefixes but until I see 
whats going on exactly i wont know for sure.
Cheers,
Mike 

Original comment by mike.pri...@abstractive.ca on 27 Feb 2012 at 3:55

GoogleCodeExporter commented 9 years ago
No tracestack only this line in the alfresco.log:
alfresco.log.2012-02-25:07:33:14,530 WARN  
[org.alfresco.repo.dictionary.DictionaryDAO] 
org.alfresco.service.cmr.dictionary.DictionaryException: 01250018 Model 
'{a.model}a' does not exist

create Model: name: "xname"; prefix: "xprefix"; save
create aspect: "xaspect"; prefix:"xprefix"; create
then in aspect form no change, direct save.
results in log: 23:14:30,065 WARN  [org.alfresco.repo.dictionary.DictionaryDAO] 
org.alfresco.service.cmr.dictionary.DictionaryException: 01277870 Model 
'{xprefix.model}xname' does not exist 
see screenprints.

also next Warning in errorlog when starting alfresco:
Unable to register script 
classpath:alfresco/templates/webscripts/ca/ab/fm/formsmanagement/utils/form/form
data-save.post.desc.xml due to error: 01250000 Web Script document 
ca/ab/fm/formsmanagement/utils/form/formdata-save.post.desc.xml is attempting 
to define the url '/form-management/formdata/save:POST' already defined by 
ca/ab/fm/formsmanagement/other-services/uofa/formdata-save.post.desc.xml

I removed the script from the utils/form folder, warning is gone but no effect 
on the model-problem. 

Original comment by aw...@scapeler.com on 27 Feb 2012 at 10:18

Attachments:

GoogleCodeExporter commented 9 years ago
While I am not using this extension, I can confirm that the same problem 
happens when one dynamically deploys a model into the Data Dictionary/Models 
folder.

Original comment by jettgam...@gmail.com on 27 Mar 2012 at 4:30

GoogleCodeExporter commented 9 years ago
Lots of bug fixes have been made and validation is tighter on the latest 
release. This should help guide the creation of forms. I could not replicate 
the bug and no others have came across it. There is a webinar I could walk 
through if there is time.  

Original comment by mike.pri...@abstractive.ca on 28 Mar 2012 at 3:33

GoogleCodeExporter commented 9 years ago
I'm also seeing this error when I dynamically deploy my custom model to:
  Company Home > Data Dictionary > Models 

2012-08-14 09:44:57,189  WARN  [repo.dictionary.DictionaryDAO] [http-8080-1] 
org.alfresco.service.cmr.dictionary.DictionaryException: 07140007 Model 
'{agile.model}agilemodel' does not exist

No Stacktrace.

Alfresco Enterprise 4.0.2

Attaching my content model XML.

Original comment by driek...@gmail.com on 14 Aug 2012 at 4:52

Attachments: