-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Qute: StackOverflowError due to nested #include and #insert directives #41451
Comments
/cc @mkouba (qute) |
mkouba
changed the title
StackOverflowError due to nested #include and #insert directives
Qute: StackOverflowError due to nested #include and #insert directives
Jun 26, 2024
Funny I found the same issue today :) reproducer 👆 |
mkouba
added a commit
to mkouba/quarkus
that referenced
this issue
Jun 27, 2024
mkouba
added a commit
to mkouba/quarkus
that referenced
this issue
Jun 27, 2024
mkouba
added a commit
to mkouba/quarkus
that referenced
this issue
Jun 28, 2024
gsmet
pushed a commit
to gsmet/quarkus
that referenced
this issue
Jul 1, 2024
- fixes quarkusio#41451 (cherry picked from commit 8230825)
holly-cummins
pushed a commit
to holly-cummins/quarkus
that referenced
this issue
Jul 31, 2024
gsmet
pushed a commit
to gsmet/quarkus
that referenced
this issue
Aug 14, 2024
- fixes quarkusio#41451 (cherry picked from commit 8230825)
danielsoro
pushed a commit
to danielsoro/quarkus
that referenced
this issue
Sep 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I have the following templates and i get a
StackOverflowError
. This happens because thelogin.html
include theauth.html
templateand the
auth.html
template includes theroot.html
which both have a default{#insert/}
.In order to fix this i can use a named insert, but i'm just wondering if this is a bug worth mentioning or it is intended to be used in that way.
root.html
auth.html
login.html
So in order to fix this change the
{#insert/}
ofauth.html
to{#insert main /}
and in templateslogin.html
use it{#main}
auth.html
login.html
reproducer
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: