-
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: namespace issue in included templates #20701
Comments
/cc @mkouba |
OK, found it, this is due to my globals missing the
What's weird is that this lets me pass build-time type-checking. In any case, the error message could be improved :) |
Well, not all expressions/references that start with a namespace are validated during build. So far we only validate those with
+10 |
- also improve the error message if no resolver is found for a namespace at runtime - resolves quarkusio#20701
- also improve the error message if no resolver is found for a namespace at runtime - resolves quarkusio#20701 (cherry picked from commit 2cef352)
Describe the bug
Given the following templates:
Application/index.html
:main.html
:I'm getting the following exception at run-time when rendering it:
Which is weird because both templates are type-checked:
And I don't get errors at build-time about those.
Also, I'm not getting any line number for the error.
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
GraalVM version (if different from Java)
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: