Finished up Kathy's bugfix to central method MessageRouter.processMessage() upon activating and deactivating: existing code always removed a specified module upon deactivation, without checking the moduletype matched the instance of the module in the moduleMap that we're removing. But we don't want to allow action=system, subaction=deactivate, moduletype=service (should be collection) and modulename=demo (collection-name). The demo collection should not be removed as it's not a service. It's a meaningless command. Further, the code is ready to cast the module to Collection which used to result in a type cast error. This commit tidies that part up.
Powered by Trac 1.4.2
By Edgewall Software
Visit the Trac open source project athttp://trac.edgewall.org/