Listfind & Listfindnocase works incorrectly while using includeEmptyFields=true

Description

List find & Listfindnocase incorrectly works for empty fields when includeemptyfields=true. If the list has empty fields in front of the list means lucee trim the empty fields and returns the wrong result. But ACF works fine in this scenario.

Lucee returns: 3

ACF returns: 1

Lucee returns: 3

ACF returns: 1

Environment

None

Activity

Pothys - MitrahSoft 22 November 2021 at 07:45
Edited

I've checked this ticket with the latest lucee build 6.0.0.132-SNAPSHOT. Now listFind() with includeEmptyFields=true returns the result as expected. So I marked this ticket as deployed.

Michael Offner 19 November 2021 at 17:10

Zac Spitzer 21 February 2020 at 08:22

Can you add the attribute to the task title?

Pothys - MitrahSoft 20 February 2020 at 15:28
Edited

I've added a test case and fix for this ticket.

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

Pothys - MitrahSoft 20 February 2020 at 10:44

Yeah,

Fixed

Details

Assignee

Reporter

Priority

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

Affects versions

Created 20 February 2020 at 10:07
Updated 22 November 2021 at 07:49
Resolved 22 November 2021 at 07:45