You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior (option 1):
Fragments of arbitrary names (including a ".") are rendered correctly. One gets the body rendered and a 200 OK.
Expected behavior (option 2):
Fragment names including a "." are not supported. I'd expect an error message then and not a 200 OK.
Actual behaviour:
I get a 200 OK response if the fragment is stored correctly and it is also found; however, it is never really returned, instead I get an empty reponse body.
I managed to trace the issue to the occurance of a "." in the fragment name.
Please provide the maximum detail possible. We will specifically need:
Version of Thymeleaf (and any involved extensions) you are using.
3.1.2
Environment: versions of Spring, Spring Boot, or any other
relevant libraries.
Spring Boot 3.3.5
Detailed steps to reproduce your issue.
Create a controller
@GetMapping("/test")
public String test(final Model model) {
return "TestEntity-two :: testEntity.oneTwo";
}
In your template TestEntity-two.html, put a fragement:
For BUGS:
Expected behavior (option 1):
Fragments of arbitrary names (including a ".") are rendered correctly. One gets the body rendered and a 200 OK.
Expected behavior (option 2):
Fragment names including a "." are not supported. I'd expect an error message then and not a 200 OK.
Actual behaviour:
I get a 200 OK response if the fragment is stored correctly and it is also found; however, it is never really returned, instead I get an empty reponse body.
I managed to trace the issue to the occurance of a "." in the fragment name.
Please provide the maximum detail possible. We will specifically need:
3.1.2
relevant libraries.
Spring Boot 3.3.5
Omitting the "." in the fragment name works
The text was updated successfully, but these errors were encountered: