Melloware

Results 2420 comments of Melloware

I am getting this error locally even with your `C:\temp\city.png`. ``` Aug 12, 2024 12:36:27 PM com.sun.faces.application.view.FaceletViewHandlingStrategy handleRenderException SEVERE: Error Rendering View[/test.xhtml] javax.el.PropertyNotFoundException: /test.xhtml @19,69 value="#{imageStreamedContent.getContent(1)}": Property [getContent] not found...

OK that updated one works. Some interesting notes... 1. Firefox they are always PNG I never see the issue. 2. Chrome I see the mime/types randomly changing. Can you confirm...

Ahhh nevermind I think I see the issue. @tandraschko knows more about how this works but i see 2 requests for every Dynamic resource. The first one is the `plain/text`...

Hmmm take a look at his reproducer i see this ![image](https://github.com/user-attachments/assets/f92874c0-9d5a-4ca1-b68a-89a5c7650ecc) and the text plain ones have no content only the PNG images have content.

OK I can confirm that all 200 are being set with `image/png` ```java System.out.println(streamCount.incrementAndGet() + " " + streamedContent.getContentType()); if (streamedContent.getContentType() != null) { externalContext.setResponseContentType(streamedContent.getContentType()); } ``` ``` 5 image/png...

Yes same behavior in Mojarra and MyFaces. here is what is weird and I don't know why you are not seeing it. I see 200 requests for `xhtml` that are...

i have run into this recently from a different point of view in that it makes `QuarkusComponentTest` unit testing more cumbersome. Panache repository has `persist(entity)` but not `merge(entity)`. I have...

@FroMage i get is discouraged but its perfectly valid in JPA and sometimes absolutely necessary for certain business cases to perform a merge. Shouldn't we leave this up to the...

@stuartwdouglas @cescoffier i am not familiar enough with how core Quarkus adds the `quarkus.http.auth.form.cookie-name` credential cookie but from this code it looks like `SecurityContext.login(username, password)` should also be doing it...