FLUID-6091: Compact syntax expands empty argument list to the number 0

Metadata

Source
FLUID-6091
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Antranig Basman
Reporter
Antranig Basman
Created
2016-12-04T22:40:03.514-0500
Updated
2017-01-06T14:23:57.223-0500
Versions
  1. 2.0
Fixed Versions
N/A
Component
  1. IoC System

Description

Use of the compact syntax for an invoker (or expander) with empty argument list, for example:

invokers: {
            pullModel: "fluid.identity()"
        }

actually produces the argument list consisting of the single number 0

Comments