share-extras / media-viewers

Enhanced document previews for a range of different document and media types, plus a dashlet allowing any content item to be displayed on a site dashboard.
Apache License 2.0
29 stars 23 forks source link

Endless reloading of shared node in an unauthorized session. #29

Closed kamenf closed 10 years ago

kamenf commented 10 years ago

When node with video or audio content requiring thumbnail for preview is shared and the shared link is opened in unauthorized (logged out) session, page enters endless reloading loop.

What I can see so far is that json check for available thumbnails in plugin.display returns with status 401 (unauthorized).

This is observed with clear install of Community 4.2.e

wabson commented 10 years ago

What do you mean by the term shared link, in your description above? Do you have an example URL?

kamenf commented 10 years ago

By pressing "Shared" button in the document details page the system generates public link by which non registered users can access the document's content without account/login. Example link: http://127.0.0.1/share/s/yNyhHNl6Tr2CI7HXrfiEeA The link to document thumbnails in this case is like: http://127.0.0.1/share/proxy/alfresco-noauth/api/internal/shared/node/yNyhHNl6Tr2CI7HXrfiEeA/content/thumbnails/h264preview

kamenf commented 10 years ago

Now creation of new thumbnails is not triggered for new uploads. See my comment in the code.