FLUID-5742: Dynamic components do not respond to typeName or gradeNames which are resolved from dynamic arguments

Metadata

Source
FLUID-5742
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Antranig Basman
Reporter
Antranig Basman
Created
2015-08-13T07:36:44.896-0400
Updated
2017-05-29T10:47:00.110-0400
Versions
  1. 1.9
Fixed Versions
  1. 2.0
Component
  1. IoC System

Description

"New Kettle" included the following definition for dynamic components:

dynamicComponents: {
        request: {
            createOnEvent: "createRequest",
            type: "{arguments}.0.type",
            options: {
                gradeNames: "{arguments}.0.options.gradeNames"
            }
        }
    }

This failed since the framework was not prepared to consult the "local record" holding the special "arguments" context name during grade resolution. This issue also independently arose during work on gpii-express

Comments

  • Antranig Basman commented 2015-08-20T10:15:47.051-0400

    Merged into trunk at revision 282f1a318718eed0b0ec060fb8b4ad254417fd7e