listAppend/prepend argument includeEmptyFields doesn't works with empty list

Description

Using an empty list in ListAppend/prepend and setting the argument includeEmptyFields to false doesn't remove the empty elements from the given input value and the result list contains empty elements. Seems it works fine in ACF.


Environment

None

Activity

Show:

Pothys - MitrahSoft 10 May 2023 at 05:51

checked this ticket with lucee latest version 6.0.0.388-SNAPSHOT. Now using empty list in ListAppend & listPrepend and setting includeEmptyFields argument to false, it removed empty elements and issue solved

Michael Offner 8 May 2023 at 13:44

close if testcases passes

Michael Offner 8 May 2023 at 13:42

Pothys - MitrahSoft 19 April 2022 at 12:22

I added a fix to this ticket and this PR will solve too.

Pull Request:

Fixed

Details

Assignee

Reporter

Priority

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

Created 13 April 2022 at 11:28
Updated 10 May 2023 at 05:52
Resolved 10 May 2023 at 05:52