Regression: Closure in static method calling another static method causes request to hang when run in parallel

Description

Scenario: A CFC with a static method which iterates over an array in parallel using Each() with a closure which includes a call to another static method in the same CFC.

In version 5.3.8.3 and below the request completes immediately.

In version 5.3.8.4 and above (tested up to 5.3.8.138) the request "hangs" until it times out.

The cause is likely to be which was the only change committed in 5.3.8.4

Test case attached.

Environment

None

Activity

Show:
Julian Halliwell
March 8, 2021, 5:05 PM

Looks good. Thanks.

Pothys - MitrahSoft
March 8, 2021, 10:06 AM

I've checked this ticket with fixed versions and this issue was fixed. r Could please check with the fixed version and report here back?

Michael Offner
March 5, 2021, 5:11 PM

Pothys - MitrahSoft
January 18, 2021, 10:26 AM

I've checked this ticket and confirmed the issue happened on lucee latest version 5.3.8.138-SNAPSHOT also. Call a method from array each closure with parallel=true which inside the static method throws an error as a request timeout error. Seems It works fine until 5.3.8.3-SNAPSHOT.

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

Assignee

Pothys - MitrahSoft

Reporter

Julian Halliwell

Priority

New

Fix versions