From: Wolfgang <wol...@ex...> - 2007-12-14 11:46:38
|
Hi Piotr, Andrea, > Wolfgang et al.: Would you mind if > CollectionConfiguration.instantiate() logged the > ClassNotFoundException as a warning rather than rethrowing it and > crashing eXist? I don't think missing a trigger class should be a > fatal error, and it prevents the use of the client GUI without adding > application classes to the classpath. Ok, I changed this. But there are some related issues: as Dannes pointed out recently, there are ways to lock yourself out of the db by uploading an invalid collection.xconf. The basic problem is that you can upload it without being warned and once it is stored, you cannot remove or update it again since you will get a CollectionConfigurationException. This is something we need to fix before the next release. We need to check the validity of the configuration before actually storing it. Wolfgang |