[ http://jira.magnolia.info/browse/MAGNOLIA-1345?page=comments#action_13411 
] 
            
Fabrizio Giustina commented on MAGNOLIA-1345:
---------------------------------------------

> A hack (but a good one) would be to put the files into the path 
> mgnl-boostrap/dms which means that the files are bootstrapped during the 
> registration of the dms only. In case the dms is not present the files are 
> completely ignored.

this could solve another related issue with the workflow module: the workflow 
module adds some commands into the modules/dms/config path. This means that 
when magnolia restarts it sees an incomplete module definition and it tries to 
load a dummy engine class, logging a classNotFound error in the log. This is 
really annoying since there is no way to cleanly install the workflow module 
without the dms one.
Moving such bootstrap files to a bootstrap/dms folder is a good solution also 
for that use case.





> NPEs when a module tries to load content into a non existing repository
> -----------------------------------------------------------------------
>
>                 Key: MAGNOLIA-1345
>                 URL: http://jira.magnolia.info/browse/MAGNOLIA-1345
>             Project: Magnolia
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>            Reporter: Fabrizio Giustina
>         Assigned To: Fabrizio Giustina
>             Fix For: 3.1
>
>
> This happens when DMS is not installed on magnolia and the samples module is.
> The samples module has not dependencies on DMS so it tries to load content 
> into the dms repository and a couple of NPE are thrown. In order to properly 
> fix this the samples module should be split making a samples-dms module 
> probably, but checking if a HierarchyManager is non null is absolutely needed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to