FLUID-5888: Irregularity in behaviour of fluid.constructSingle for empty paths

Metadata

Source
FLUID-5888
Type
Bug
Priority
Major
Status
Open
Resolution
N/A
Assignee
Colin Clark
Reporter
Antranig Basman
Created
2016-04-12T21:23:47.195-0400
Updated
2024-07-22T09:26:47.746-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. IoC System

Description

The utility fluid.constructSingle has not been properly documented (it falls between the stools of the IoC API and the ContextAwareness API) and its behaviour with respect to the first "path" argument is irregular. If this path contains no path segments ([]), the behaviour will be to automatically append fluid.resolveRoot to the grade names of the component which is to be constructed. This utility also automatically calls fluid.typeNameToMemberName to derive a member name. We need to remove these irregularities and properly document the utility.