Re: problem with creating initial document in default publication

2007-04-17 Thread Andreas Hartmann
Michael Ralston schrieb: > Found this method in CreateDocument: >protected String getNewDocumentName() { >String nodeName; >if (getParameterAsBoolean(PATH_PROVIDED, false)) { >final String path = getParameterAsString(PATH); >nodeName = path.substring(path

Re: problem with creating initial document in default publication

2007-04-17 Thread Michael Ralston
Found this method in CreateDocument: protected String getNewDocumentName() { String nodeName; if (getParameterAsBoolean(PATH_PROVIDED, false)) { final String path = getParameterAsString(PATH); nodeName = path.substring(path.lastIndexOf("/") + 1); } els

problem with creating initial document in default publication

2007-04-17 Thread Michael Ralston
Hi guys When you login to a publication and it doesn't have any pages yet, it prompts you to import example content, or create a page. When I create a page I'm now getting a NPE. I think it's related to Andreas' latest commit. java.lang.NullPointerException at org.apache.lenya.cms.site.