FLUID-4333: Injection of events via IoC is error-prone - missing "events" section in path can go unnoticed

Metadata

Source
FLUID-4333
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Antranig Basman
Reporter
Cindy Li
Created
2011-07-08T16:43:25.315-0400
Updated
2013-09-06T13:00:21.493-0400
Versions
  1. 1.4
Fixed Versions
  1. 1.5
Component
  1. IoC System

Description

Injecting an event using syntax like

onUIOptionsTemplateReady: "{templateLoader}.onUIOptionsTemplateReady",

will fail without a helpful diagnostic, even though it is almost inconceivable that an event firer could be injected from any path other than "{that}.event" - this should either happen automatically or an informative diagnostic produced