Character is not considered simple according to isSimpleValue()

Description

This is primarily an incompatiblity to ACF, but should also be treated as a bug since isValid accepts characters as "string".

(Lucee's dump shows "character" and prints the value in a readable way. So that part works as expected.)

Activity

Show:

Pothys - MitrahSoft 29 October 2021 at 15:55

Pothys - MitrahSoft 5 July 2021 at 12:01

I added a testcase to isSimpleValue function

Pull Request:

Pothys - MitrahSoft 2 July 2021 at 15:25

I've checked this ticket and confirmed the issue happened on lucee latest version 5.3.8.189-SNAPSHOT also.
For character, isSimpleValue() returns false in lucee, But ACF returns true.
https://github.com/lucee/Lucee/blob/6.0/core/src/main/java/lucee/runtime/op/Decision.java#L94

Fixed

Details

Assignee

Reporter

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

Fix versions

Affects versions

Priority

Created 2 July 2021 at 11:22
Updated 18 September 2024 at 10:18
Resolved 29 October 2021 at 15:56