Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vlkb-siav2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ViaLactea
vlkb-siav2
Commits
d38e2009
Commit
d38e2009
authored
5 months ago
by
Robert Butora
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
data-discovery/src/main/java/search/DbObstap.java
+1
-1
1 addition, 1 deletion
data-discovery/src/main/java/search/DbObstap.java
data-discovery/src/main/java/webapi/formatfilter/FormatResponseFilter.java
+2
-2
2 additions, 2 deletions
...c/main/java/webapi/formatfilter/FormatResponseFilter.java
with
3 additions
and
3 deletions
data-discovery/src/main/java/search/DbObstap.java
+
1
−
1
View file @
d38e2009
...
...
@@ -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
);)
...
...
This diff is collapsed.
Click to expand it.
data-discovery/src/main/java/webapi/formatfilter/FormatResponseFilter.java
+
2
−
2
View file @
d38e2009
...
...
@@ -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
.
f
in
e
(
"SearchServlet returned n
o ID's
."
);
LOGGER
.
warn
in
g
(
"SearchServlet returned n
ull pubdidArr
."
);
}
}
catch
(
MultiValuedParamNotSupported
ex
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment