Marco Balcon a écrit :
> Hi all,
> 
> I'm trying to create a new module that permit to create document of type
> 'project' that can contain document of type 'task'.
> [...]
> Caused by: java.lang.NullPointerException
>         at
> org.nuxeo.common.utils.StringUtils.toAscii(StringUtils.java:65)
>         at org.nuxeo.common.utils.IdUtils.generateId(IdUtils.java:80)
>         at org.nuxeo.common.utils.IdUtils.generateId(IdUtils.java:125)
>         at
> org.nuxeo.ecm.webapp.contentbrowser.DocumentActionsBean.saveDocument(
> DocumentActionsBean.java:419)


At the moment the id of the document is built using the dublincore title that
should not be null. so please add the title as a required field in your creation
form.

> 
> What should be my issue?
> 
> An other question: the creation mask show two fields for input 'codice'
> and 'descrizione' and the label that the user see is 'codice' and
> descrizione that I think are read from fieldname="codice" and
> fieldname="descrizione"; This label could be I10n?

I think they are localized (if you are using the default document_editor.xhtml
template). Just add your translations in registered message_*.properties files
in your project.

-- 
Olivier

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to