Skip to content
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

Error with Qute templates with dot in the names #46254

Closed
ia3andy opened this issue Feb 13, 2025 · 1 comment · Fixed by #46257
Closed

Error with Qute templates with dot in the names #46254

ia3andy opened this issue Feb 13, 2025 · 1 comment · Fixed by #46257
Assignees
Labels
area/qute The template engine kind/bug Something isn't working
Milestone

Comments

@ia3andy
Copy link
Contributor

ia3andy commented Feb 13, 2025

Describe the bug

2025-02-13 15:15:36,584 ERROR [io.qua.qut.web.run.QuteWebHandler] (vert.x-worker-thread-1) Appropriate template variant not found [text/html, application/xhtml+xml, image/avif, image/webp, image/apng, application/xml;q=0.9, /;q=0.8, application/signed-exchange;v=b3;q=0.7]: /some-page.1

This bugs appears in qute-web but seems to be due to an underlying Qute issue when registering template Variants.

Expected behavior

It should work propertly

Actual behavior

Error

How to Reproduce?

https://github.com/ia3andy/reproducer-dot-qute

run quarkus dev and hit http://localhost:8080/some-page.1

there is also a NPE on http://localhost:8080/some-page

Output of uname -a or ver

No response

Output of java -version

No response

Quarkus version or git rev

3.18

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

@ia3andy ia3andy added the kind/bug Something isn't working label Feb 13, 2025
Copy link

quarkus-bot bot commented Feb 13, 2025

/cc @mkouba (qute)

@quarkus-bot quarkus-bot bot added the area/qute The template engine label Feb 13, 2025
@mkouba mkouba self-assigned this Feb 13, 2025
mkouba added a commit to mkouba/quarkus that referenced this issue Feb 13, 2025
@quarkus-bot quarkus-bot bot added this to the 3.21 - main milestone Feb 14, 2025
@gsmet gsmet modified the milestones: 3.21 - main, 3.19.0 Feb 14, 2025
gsmet pushed a commit to gsmet/quarkus that referenced this issue Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/qute The template engine kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants