Hi Andreas,
Andreas Hartmann wrote:
Josias Thöny wrote:
On Mon, 2006-08-14 at 09:31 -0400, Doug Chestnut wrote:
I get the same error "No node contained for path ...".
It seems to be caused by the publish usecases doCheckPreconditions()
method called when the authoring menus are created.
SiteStructure structure =
siteManager.getSiteStructure(getDocumentFactory(),
publication,
Publication.LIVE_AREA);
structure is null for some reason.
See the next line in Publish.java:
SiteNode liveNode = structure.getNode(path);
The structure is not null, but it throws an exception because the index
document has not been published yet and therefore the /index node
doesn't exist in the live sitetree.
Thanks for the pointer.
I see the exception as tool-top when I hover the "Publish" menu item
with the mouse, so the problem is that I have the log level set to
"error".
In this case the usecase exceptions are caught so that the application is
still partially usable. I guess we should use a more explicit
configuration
option instead.
I'll fix the problem asap.
-- Andreas
It's working for me now, thanks for the fix.
--
Jonathan Addison jon<at>wyona.com
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]