FLUID-6281: Can't refer to a subcomponent by its grade name in an IoC reference for model listener on the parent.

Metadata

Source
FLUID-6281
Type
Bug
Priority
Major
Status
Pull Request
Resolution
N/A
Assignee
Antranig Basman
Reporter
Justin Obara
Created
2018-05-17T16:26:53.495-0400
Updated
2018-08-22T12:56:33.667-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. IoC System

Description

When trying to hook up functionality between a child component and the parent component, if an IoC reference used on a model listener, or invoker used by a model listener, refers to the subcomponent by its grade name, the reference will fail to resolve.

It will work if the IoC reference is made using the member name for the subcomponent as defined in the components block.

Comments

  • Justin Obara commented 2018-05-17T16:32:34.698-0400

    Submitted a PR with a test case verifying the issue. https://github.com/fluid-project/infusion/pull/902

  • Antranig Basman commented 2018-05-17T17:03:31.220-0400

    This is a subcase of FLUID-6148 and is hopefully resolved by that work. Could you check out your test case with the pull that is in progress for that, and perhaps any other review that occurs to you - cheers!

  • Justin Obara commented 2018-05-22T09:40:03.434-0400

    @@Antranig Basman it looks like FLUID-6148 fixes this, as the tests pass in that branch. I did a skim, far too quick for a change of such complexity, of the FLUID-6148 PR and nothing immediately stood out.