thread scope problems

Description

1. any debugging information generated in a thread's pageContext is lost (i.e not merged into request pc)

the debug info is very likely to be duplicated, especially with implicit access logging, which simply stops logging
after 1000 items
https://github.com/lucee/Lucee/blob/5.3/core/src/main/java/lucee/runtime/debug/DebuggerImpl.java#L800

2 unscoped, thread scoped variables aren't being resolved inside a thread


https://docs.lucee.org/guides/developing-with-lucee-server/scope.html
https://github.com/lucee/Lucee/blob/5.3/core/src/main/java/lucee/runtime/type/scope/UndefinedImpl.java#L215

3. implicit scope access, reports thread scope when accessing a thread scoped variable within a thread?

Environment

None

Activity

Show:
Luis Majano
March 20, 2020, 5:43 PM

Great job

Pothys - MitrahSoft
July 1, 2020, 8:42 AM

I've checked this ticket and confirmed the issue has happened on a thread. Yes, it throwing an error for the unscoped variables in a thread. But, ACF works fine for this kind of scenario.

Assignee

Michael Offner

Reporter

Zac Spitzer

Priority

New

Fix versions

None

Affects versions

Configure