Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0
-
None
-
None
-
Operating System: other
Platform: Other
-
34306
Description
LookupAction currently uses the static CatalogFactory.getInstance() method to
get a CatalogFactory; this interferes with catalog/command instantiation
processes which don't register catalogs with the static instance. Rather than
require all instantiation processes to use the static registration, LookupAction
should be changed to have a CatalogFactory property which can be set by a
"Dependency Injection" IoC framework like Spring. For backwards compatibility,
the property can default to being set to the static singleton instance.
I have this code mostly written, simply awaiting a bit of testing – but we
might as well get it in before the Chain 1.1 release, so I wanted to register it
in Bugzilla.