FLUID-4937: Can't add gradeNames to a component at instantiation

Metadata

Source
FLUID-4937
Type
Task
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Justin Obara
Reporter
Justin Obara
Created
2013-03-18T15:17:18.191-0400
Updated
2013-04-29T14:34:50.729-0400
Versions
  1. 1.4
Fixed Versions
N/A
Component
  1. Framework
  2. IoC System

Description

gradeNames are part of the options for a component. However, if you attempt to add another gradeName to a component at instantiation time, it is ignored and only the grades that were added in the call to fluid.defaults are applied.

A unit tests demonstrating the issue can be found in my github branch:
https://github.com/jobara/infusion/tree/FLUID-4937

Comments

  • Justin Obara commented 2013-03-18T15:25:38.160-0400

    I tried out the branch for FLUID-4921 which provides another means of doing this through dynamically applying grades with invokers. However, the method described here still does not work.

  • Michelle D'Souza commented 2013-03-19T16:16:33.812-0400

    Pull request https://github.com/fluid-project/infusion/pull/271 merged into project repo at 251aff24fcf3e85b84c20d72c9d174858543f6f1