Raw Log


Sam
 

After installing the lastest promoted build and installing it, i discovered the raw log did not work anymore. The button opens the raw log window but it stays empty. This behaviour is in Firefox as well as Chrome.

 

I have debugged it and fixed it locally:

 

In logViewerRaw.jsf is the following segment of javascript:

 

if (xhr.status == 200 && xhr.getResponseHeader('Content-Type') == "text/plain") {

 

the part (xhr.getResponseHeader('Content-Type') == "text/plain")  returns false, hence the content is never written to the page. To fix the issue locally, I altered the file in the jar, removing the second clause. Maybe it can be fixed in the next promoted build.

 

 

 

 

 

Met vriendelijke groet,

 

 

Jeroen Bankert

Pesetastraat 40, 2991XT Barendrecht

 

j.bankert@...

 

www.yellowstar.com

 

 

 

 


Krishna Deepak
 

This issue has been logged(https://github.com/javaee/glassfish/issues/22265) and will be addressed.

- Krishna Deepak