[
https://jira.duraspace.org/browse/DS-1215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=26396#comment-26396
]
Samuel Ottenhoff commented on DS-1215:
--------------------------------------
Any ideas on the right way to resolve this?
> Display a default thumbnail if the user does not have permissions to view
> instead of 301 redirecting the image to a login screen
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: DS-1215
> URL: https://jira.duraspace.org/browse/DS-1215
> Project: DSpace
> Issue Type: Bug
> Components: XMLUI
> Affects Versions: 1.8.2
> Reporter: Samuel Ottenhoff
> Priority: Major
>
> How to test:
> 1) Submit an item with a JPG only
> 2) filter-media to generate thumbnails
> 3) Revoke Anonymous access to all bitstreams
> 4) Logout
> 5) generate the indexes: bin/dspace index-update
> 6) view the index as an anonymous user
> The thumbnail will not appear for the items where the anonymous access to the
> bitstreams was revoked. But instead of displaying nothing (or a default
> thumbnail), DSpace does the interruptRequest() on each of the thumbnails
> which results in the inlined image becoming a 301 request to login.
> And because the interruptRequest was called, now attempt to immediately
> login: you will be redirected to the thumbnail.....
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel