Skip to content

Commit

Permalink
make sure the active component is also seen in child threads and inde…
Browse files Browse the repository at this point in the history
…pendent of the parent thread (parent may leave the active component ad the child thread stays)
  • Loading branch information
michaeloffner committed Sep 20, 2024
1 parent 166498e commit 021eb78
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions core/src/main/java/lucee/runtime/PageContextImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,10 @@ public PageContextImpl initialize(HttpServlet servlet, HttpServletRequest req, H
if (clone) {
appListenerType = tmplPC.appListenerType;
this.ignoreScopes = tmplPC.ignoreScopes;

this.activeComponent = tmplPC.activeComponent;
this.activeUDF = tmplPC.activeUDF;
this.activeUDFCalledName = tmplPC.activeUDFCalledName;
}
else {
appListenerType = ApplicationListener.TYPE_NONE;
Expand Down
2 changes: 1 addition & 1 deletion loader/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<project default="core" basedir="." name="Lucee"
xmlns:resolver="antlib:org.apache.maven.resolver.ant">

<property name="version" value="6.2.0.91-SNAPSHOT"/>
<property name="version" value="6.2.0.92-SNAPSHOT"/>

<taskdef uri="antlib:org.apache.maven.resolver.ant" resource="org/apache/maven/resolver/ant/antlib.xml">
<classpath>
Expand Down
2 changes: 1 addition & 1 deletion loader/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>org.lucee</groupId>
<artifactId>lucee</artifactId>
<version>6.2.0.91-SNAPSHOT</version>
<version>6.2.0.92-SNAPSHOT</version>
<packaging>jar</packaging>

<name>Lucee Loader Build</name>
Expand Down

0 comments on commit 021eb78

Please sign in to comment.