-
Notifications
You must be signed in to change notification settings - Fork 76
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
Plone 5: sometimes response mime_type is text/plain #169
Comments
We are also seeing this happen on a client instance, Plone 5.0.7. It's not only happening in development. It tends to only happen when you first visit the form, it goes back to normal after a refresh. I've also seen the mime time set to "application/javascript" when the HTML displays. I haven't tried fixing the edit form, but the view seems to be fixed by changing the |
Confirmed on Plone 5.0 for the first form that you try to create. No idea currently. |
My fix above does not actually work, but I did find this: I put a PDB into |
But even with the correct type, the page renders without the Diazo theme... |
How to reproduce:
On my environment the first attempt to create a PFG on a new site will show the HTML source (not interpreted) on the browser. By debugging the server response I see that the mime is
text/plain
.I reproduced this issue on normal Plone usage but also on automated browser tests (see collective/uwosh.pfg.d2c#23)
No bloody idea of what cause this... maybe is only in development? Is Diazo?
The text was updated successfully, but these errors were encountered: