FLUID-4707: Correct IoC context resolution rules to prohibit matches with mismatched context names

Metadata

Source
FLUID-4707
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Justin Obara
Reporter
Antranig Basman
Created
2012-05-09T03:10:53.865-0400
Updated
2014-03-03T12:53:46.872-0500
Versions
N/A
Fixed Versions
  1. 1.5
Component
  1. IoC System

Description

A necessary fix to the IoC context resolution rules (already partially reformed in FLUID-4178) is to tighten up the matching process so that demands which do not match on ALL names which they require in a particular context are not considered. As part of the FLUID-4178 work they were at least heavily penalised so that they match with a lower priority than any context-free block, as well as definitely requiring a match on at least one name.

Given this will cause widespread upheaval to the semantics of lots of existing demands blocks this should not be done until the wholesale rewrite of FLUID-4392.

Comments

  • Antranig Basman commented 2013-02-19T14:53:21.392-0500

    Resolved by merge of FLUID-4330 branch at revision 91d5d1