Fixed
Details
Assignee
Antranig BasmanAntranig BasmanReporter
Antranig BasmanAntranig BasmanComponents
Priority
Major
Details
Details
Assignee
Antranig Basman
Antranig BasmanReporter
Antranig Basman
Antranig BasmanComponents
Priority
Created July 2, 2015 at 11:02 PM
Updated July 8, 2016 at 12:47 PM
Resolved October 21, 2015 at 6:02 AM
The model transformation system's "fluid.model.transform.doTransform" core implementation contains the following short-circuit:
// if the function has no input, the result is considered undefined, and this is returned
if (expanded === undefined) {
return undefined;
}
This is a faulty assumption in general, especially for IoC-driven transforms. However, it is valid for simple transform functions which have been "lifted" from plain functions. We need to distinguish between functions which have received a non-empty "transformSpec" (other than "type") and those which are plain functions and defeat the behaviour for the former.