FLUID-5187: Enactors shouldn't be dependent on being viewComponents

Metadata

Source
FLUID-5187
Type
Bug
Priority
Blocker
Status
Closed
Resolution
Fixed
Assignee
N/A
Reporter
Anastasia Cheetham
Created
2013-10-22T11:14:21.626-0400
Updated
2013-10-28T10:33:41.801-0400
Versions
N/A
Fixed Versions
  1. 1.5
Component
  1. Prefs Framework

Description

Using schemas:

It's possible that someone might design an enactor that does not need to be a view component, but right now, the framework will throw an error if an enactor is not defined to be one. It seems that the builder automatically adds the UIEnhancer's container as a container key to the enactor, but since it's not a viewComponent, the framework determines the container key to be invalid and throws an error:

ASSERTION FAILED: Probable error in subcomponent record - key "container" found, where the only legal options are type, options, args, mergeOptions, createOnEvent, priority, recordType

Comments