-
-
Notifications
You must be signed in to change notification settings - Fork 195
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-upgrade to 5.0.3 shows plain text as result #1436
Comments
BTW, if I copy-paste this plain html in a file and view it with a browser, it shows up just fine. I guess the registry.xml changes trigger a |
I can confirm this issue |
I had another look. It is actually not With a pdb, this is the stack trace:
So when the bundles import step needs to do something (as in the condition in this line: https://github.com/plone/Products.CMFPlone/blob/master/Products/CMFPlone/resources/exportimport/bundles.py#L17) it has the side effect of making the plone-upgrade result page show up as plain text. @ebrehault is this something you can take a look at, since this is part of plip #1277? |
I wondered why I do not see this when doing the same upgrade in portal_setup. The reason is simple. I can see with a pdb that the header is set to |
It would be set to application/javascript. This would result in the plone-upgrade result page being shown in plain text. Fixes #1436
It would be set to application/javascript. This would result in the plone-upgrade result page being shown in plain text. Fixes #1436
It would be set to application/javascript. This would result in the plone-upgrade result page being shown in plain text. Fixes #1436
@mauritsvanrees thank you for fixing this |
It would be set to application/javascript. This would result in the plone-upgrade result page being shown in plain text. Fixes #1436
This is caused by plone/plone.app.upgrade#67 by @vangheem, though this change looks fine to me.
With the above change, when running
@@plone-upgrade
, even with dry-run selected, the result page is shown as text: you see plain html. Very strange. Reported here: https://community.plone.org/t/plone-5-0-3-soft-released/1699/4When I empty the registry.xml, keeping only the main
registry
tags for safety, it all works fine. Keeping one of the two changed records, it again shows as text.To check it:
Result: it will show as plain text.
BTW, afterwards, all is fine: the migration has succeeded and it looks like all pages show up fine.
Any idea?
The text was updated successfully, but these errors were encountered: