JSPUI is not displaying thumbnails in browse or search results even when it
is enabled. I have found this error when only discovery is enable, debugging
the app i notice that the following methods always return null or "" even
when my items have a thumbnail bundle:

org.dspace.app.webui.jsptag.BrowseListTag.getThumbMarkup(HttpServletRequest
hrq, BrowseItem item) returns "" when a call to
org.dspace.content.service.ItemService.getThumbnail(Context context, int
itemId, boolean requireOriginal) returns null

I have tried changing ItemServices.getThumbnail(Context context, int itemId,
boolean requireOriginal) with
org.dspace.browse.BrowseItem.getThumbnail() but I got the same results.

Can anyone help me?

NOTE: I have found something weird in my logs and it is that there are any
call to a database query, it is whta you hope if you are using DISCOVERY and
SOLRDao, but i'm wondering if thumbnails bundles are being written to the
SOLR index.



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Dspace-4-1-JSPUI-Error-displaying-thumbnails-tp4672409.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to