Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#1127 closed task (fixed)

Thumbnails are not visible in BASE 3.15

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: blocker Milestone: Thumbnails v1.1
Component: net.sf.basedb.thumbnails Keywords:
Cc:

Description

The spinning "loading" icon is displayed but the thumbnail image is not displayed. There are no error messages in the log file. Copying the image url to a new window reveals a stacktrace:

net.sf.basedb.core.Application.getSessionControl(Ljava/lang/String;Ljava/lang/String;)Lnet/sf/basedb/core/SessionControl;
Stacktrace 	

java.lang.NoSuchMethodError
...at net.sf.basedb.thumbnails.ThumbnailsServlet.doGet(ThumbnailsServlet.java:47)
...at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
...at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
...

The Application.getSessionControl(String, String) is one of the methods that was removed in http://base.thep.lu.se/ticket/2137 so we need to update our code to call the replacement method.

Change History (2)

comment:1 by Nicklas Nordborg, 5 years ago

Resolution: fixed
Status: newclosed

In 5350:

Fixes #1127: Thumbnails are not visible in BASE 3.15

Updated to BASE 3.15 and changed the method call. Also changed the servlet-api.jar file to the one that is shipped with BASE 3.15.

comment:2 by Nicklas Nordborg, 5 years ago

In 5352:

References #1127: Thumbnails are not visible in BASE 3.15

Updated README.

Note: See TracTickets for help on using tickets.