member function with too many arguments throws incorrect Error

Description

Member function with more arguments throws an error as The function does not exist in the Object instead of an argument validation error.

above code throws an error like The function [ append ] does not exist in the Object, only the following functions are available:[ append, avg, clear, contains, containsNoCase, delete, deleteAt, deleteNoCase, duplicate, each, every, filter......etc ]. It should be too many arguments for function call [ append ].

Environment

None

Activity

Show:
Zac Spitzer
April 1, 2021, 3:41 PM

Pothys - MitrahSoft
February 2, 2021, 3:03 PM

I added a fix for this ticket to throws an error for too many arguments in the member functions.

Pull Request: https://github.com/lucee/Lucee/pull/1168

Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Pothys - MitrahSoft

Reporter

Pothys - MitrahSoft

Priority

New

Fix versions