On 7 Jun 2007, at 12:07, Olivier Grisel wrote:
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.

Note that this bug has already been fixed in the svn trunk version of Nuxeo 5.

Florent

--
Florent Guillaume, Director of R&D, Nuxeo
Open Source Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87



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

Reply via email to