I created a new view and registered it as an extra view but the view did not work for anonymous users until restarting the instance:
rapido/views/blocks/file_view.pt
rapido/views/blocks/file_view.yaml
The contents of file_view.yaml
view:
id: file-view
with_theme: true
Visiting as administrator works as expected
As an administrator, when I visit: {myplonesite}/content/file-view
I see the file-view as expected.
Visiting as an anonymous user returns "a page does not seem to exist" error
As an anonymous user when I visit: {myplonesite}/content/file-view
I get a 404 error.
"This page does not seem to exist…
We apologize for the inconvenience, but the page you were trying to access is not at this address. You can use the links below to help you find what you are looking for."
Anonymous can ONLY see the full view path either
I also tried visiting {myplonesite}/content/@@file-view as an anonymous user. This also failed.
But visiting {myplonesite}/content/@@rapido/views/blocks/file_view worked as expected.
Works after a reboot
After restarting the instance the anonymous users was able to visit {myplonesite}/content/@@file-view.
Platform Plone 5.1b
This was tested on the following platform:
Rapido 1.1.1
Plone.resources 1.2
Plone 5.1b2 (5105)
CMF 2.2.10
Zope 2.13.26
Python 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609]
PIL 3.4.2 (Pillow)
I created a new view and registered it as an extra view but the view did not work for anonymous users until restarting the instance:
The contents of file_view.yaml
Visiting as administrator works as expected
As an administrator, when I visit:
{myplonesite}/content/file-view
I see the file-view as expected.Visiting as an anonymous user returns "a page does not seem to exist" error
As an anonymous user when I visit:
{myplonesite}/content/file-view
I get a 404 error. "This page does not seem to exist… We apologize for the inconvenience, but the page you were trying to access is not at this address. You can use the links below to help you find what you are looking for."Anonymous can ONLY see the full view path either
I also tried visiting
{myplonesite}/content/@@file-view
as an anonymous user. This also failed.But visiting
{myplonesite}/content/@@rapido/views/blocks/file_view
worked as expected.Works after a reboot
After restarting the instance the anonymous users was able to visit
{myplonesite}/content/@@file-view
.Platform Plone 5.1b
This was tested on the following platform: Rapido 1.1.1 Plone.resources 1.2 Plone 5.1b2 (5105) CMF 2.2.10 Zope 2.13.26 Python 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609] PIL 3.4.2 (Pillow)