Skip to content
Snippets Groups Projects
Commit d38e2009 authored by Robert Butora's avatar Robert Butora
Browse files

bugfix for symptom: no VOTable returned if no datasets found; however should return empty VOTable

parent e70e657f
No related branches found
No related tags found
No related merge requests found
......@@ -218,7 +218,7 @@ public class DbObstap
LOGGER.fine("Connecting to: " + dbConnArgs.uri()
+ " with optional user/pwd: " + dbConnArgs.userName() +" / "+ dbConnArgs.password() );
try(
try(
Connection conn = DriverManager.getConnection(dbConnArgs.uri(), dbConnArgs.userName(), dbConnArgs.password());
Statement st = conn.createStatement();
ResultSet res = st.executeQuery(theQuery);)
......
......@@ -56,7 +56,7 @@ public class FormatResponseFilter implements Filter
String[] pubdidArr = responseWrapper.getPubdidArr();
if ((pubdidArr != null) && (pubdidArr.length > 0))
if (pubdidArr != null)
{
PrintWriter responseWriter = ((HttpServletResponse)response).getWriter();
......@@ -81,7 +81,7 @@ public class FormatResponseFilter implements Filter
}
else
{
LOGGER.fine("SearchServlet returned no ID's.");
LOGGER.warning("SearchServlet returned null pubdidArr.");
}
}
catch(MultiValuedParamNotSupported ex)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment