FLUID-6409: Writing expander at top level in component options causes silent corruption

Metadata

Source
FLUID-6409
Type
Bug
Priority
Major
Status
Open
Resolution
N/A
Assignee
Antranig Basman
Reporter
Antranig Basman
Created
2019-10-09T07:49:36.526-0400
Updated
2024-07-19T08:01:02.679-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. Framework

Description

The following construction should error out since a top-level expander is meaningless (in addition to encoding a free component)

fluid.defaults("fluid.tests.fluid6408root", {
        gradeNames: "fluid.modelComponent",
        expander: {
            func: "fluid.component"
        },
        someLateOption: 42
    });