error message with a member function without args is missing the function name

Description

if you call query.rowData () i.e without args, it's missing the function name in the error message

too few arguments for function call

https://trycf.com/gist/1b9c043d6fb49c617564253d335368bd/lucee5?theme=monokai

i.e. calling QueryNew() throws

Too few attributes in function [QueryNew] on line 2

shouldn't that also be arguments, queryNew isn't a tag

Environment

None

Activity

Show:

Zac Spitzer 26 February 2021 at 14:08

Pothys - MitrahSoft 22 December 2020 at 14:37

Added a fix for this ticket. Now error message shows the function name in error.

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

Zac Spitzer 22 December 2020 at 12:27

Fixed

Details

Assignee

Reporter

Priority

Labels

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Affects versions

Created 22 December 2020 at 11:47
Updated 27 April 2022 at 17:06
Resolved 12 March 2021 at 15:27