Jira please...
(Could you also elaborate as to why a uncompletely registered module
should be able to get to this point?)
On 06 Feb 2007, at 23:34, [EMAIL PROTECTED] wrote:
Revision8361AuthorfgiustDate2007-02-06 23:34:25 +0100 (Tue, 06 Feb
2007)Log Messagefix NPE when a module repository is not already
registeredModified Paths
magnolia/trunk/magnolia-core/src/main/java/info/magnolia/cms/module/
ModuleUtil.java
Diff
Modified: magnolia/trunk/magnolia-core/src/main/java/info/magnolia/
cms/module/ModuleUtil.java (8360 => 8361)--- magnolia/trunk/
magnolia-core/src/main/java/info/magnolia/cms/module/
ModuleUtil.java 2007-02-06 21:02:54 UTC (rev 8360) +++ magnolia/
trunk/magnolia-core/src/main/java/info/magnolia/cms/module/
ModuleUtil.java 2007-02-06 22:34:25 UTC (rev 8361)@@ -174,7 +174,8
@@ try { final HierarchyManager hm =
MgnlContext.getHierarchyManager(repository); - if
(hm.isExist(fullPath)) {+ // hm can be null if
module is not properly registered and the repository has not been
created + if (hm != null && hm.isExist(fullPath))
{ hm.delete(fullPath); if
(log.isDebugEnabled()) { log.debug("already
existing node [{}] deleted", fullPath);
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------