-
Notifications
You must be signed in to change notification settings - Fork 108
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
Not honoring default value of jakarta.faces.FACELETS_BUFFER_SIZE (1024) #5164
Comments
It only calls setResponseBufferSize when the buffer size is set via web.xml. I think the
|
BalusC
added a commit
that referenced
this issue
Nov 12, 2022
remove check whether the response buffer size is set so that the default value can properly be used
BalusC
added a commit
that referenced
this issue
Nov 12, 2022
while at it, noticed an unused context param for setting response buffer size on JSP pages, took the opportunity to get rid of it altogether
Merged
Merged in 4.0 now. |
I ran TCK for #5171 and it turns out the following test was failing as regression of this change:
|
BalusC
added a commit
to jakartaee/faces
that referenced
this issue
Nov 13, 2022
eclipse-ee4j/mojarra#5164 -- it's basically illegal to ExternalContext#getResponseOutputWriter() directly instead of using FacesContext#getResponseWriter()
Test itself was illegal. I've fixed it. |
arjantijms
added a commit
to jakartaee/faces
that referenced
this issue
Nov 14, 2022
Fix failing spec1135IT since eclipse-ee4j/mojarra#5164
jasondlee
pushed a commit
to jboss/mojarra
that referenced
this issue
May 18, 2023
remove check whether the response buffer size is set so that the default value can properly be used
jasondlee
pushed a commit
to jboss/mojarra
that referenced
this issue
May 18, 2023
while at it, noticed an unused context param for setting response buffer size on JSP pages, took the opportunity to get rid of it altogether
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The default buffer size is not set to 1024, as specified by the specification.
Tested with jakarta.faces-4.0.0.jar
To Reproduce
Steps to reproduce the behavior:
Test a page with:
Expected behavior
1024 should be set.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Tomcat 10.1.0:
jakarta.faces.FACELETS_BUFFER_SIZE : 8192
Open Liberty (via facesContainer-4.0)
jakarta.faces.FACELETS_BUFFER_SIZE : 4096
Glassfish 7:
jakarta.faces.FACELETS_BUFFER_SIZE : 8192
(Interestingly, I had set FACELETS_BUFFER_SIZE to 1024 and 2048 here, but these values looks to be ignored...? Could there be a bug glassfish here...?)
The text was updated successfully, but these errors were encountered: