-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
folder_contents broken in Plone 5.0.5 for sites using virtual hosting #103
Comments
Can you give more context on how you configured your virtual hosting environment? I use plone.app.content 3.1.x in a Plone 5.1 environment with a nginx setup like this:
Can someone confirm? Does this error also exist in Plone 5.1? The mentioned error comes from this PR, which I submitted: #87 |
/cc @esteele |
I don't think #87 has anything to do with it. I've been running with vhm for a long time. |
We use HAProxy and Apache rewrite rules like
Our environment hasn't changed in the recent past. |
I have the same issue.
Plone version 5.0.5 I have the same rule in a previous version and works without problem. |
Same thing here. |
This is a major breaker for us, contents page does not work on any of our sites. |
Fix issue with ``get_top_site_from_url``, where in some circumstances a ValueError was thrown. If that happens, just return ``getSite``. You will only notice, if you have subsites, access them non-VirtualHost-rooted and an error is thrown. Then folder contents won't be able to navigate up to the root Plone site. Fixes #103.
I created a fix for this issue. After tests go green, we should release ASAP and include in Plone 5.0.x and 5.1.x. |
Fix issue with ``get_top_site_from_url``, where in some circumstances a ValueError was thrown. If that happens, just return ``getSite``. You will only notice, if you have subsites, access them non-VirtualHost-rooted and an error is thrown. Then folder contents won't be able to navigate up to the root Plone site. Fixes #103.
I'm re-creating this in Plone 5.0.5 - specifically #159 describes the problem very well. |
I think this fix is what broke #159 perhaps? I know it works now... unless you use VHM + Multilingual. |
It seems that the folder_contents is broken in Plone 5.0.5 for sites with virtual hosting environments.
With Plone 5.0.4 everything is ok.
Pinning the version of plone.app.content to 3.0.20 for Plone 5.0.5 works.
The text was updated successfully, but these errors were encountered: