[Commits] svn commit: 9998

www-data www-data at thor.atrc.utoronto.ca
Fri Aug 27 21:35:27 UTC 2010

r9998 | antranig at caret.cam.ac.uk | 2010-08-27 17:35:26 -0400 (Fri, 27 Aug 2010) | 1 line
Changed paths:
   M /fluid/infusion/trunk/src/webapp/framework/core/js/FluidIoC.js

FLUID-2881: Corrected implementation of fluid.locateDemands and also now permit a list of strings to appear as context names as 2nd argument to fluid.demands. Although this was considered a "forward-looking feature" it was found essential even to correctly operate the testing configuration within the CollectionSpace autocomplete component. This implementation performs a "maximum intersection count" between the complete set of discovered context names and the set requested in the demands block. This is an unideal implementation since there is the possibility for surprises in the case of ambiguous matches - this needs to be properly documented and alternative implementations considered. At the very least the system needs very good diagnostics to enable the particular resolution choice made by the system to be understood.

More information about the Commits mailing list