Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
DDA
dda-wizard
Commits
611f2078
Commit
611f2078
authored
Jun 02, 2022
by
Steinberg, Jan
Browse files
adding check if setspec already exists
parent
1d6ef34c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gesis/dda/wizard/web/rest/BundlesSourceResource.java
View file @
611f2078
...
...
@@ -280,7 +280,7 @@ public class BundlesSourceResource {
final
String
setSpec
=
getSetSpec
(
bundlesSource
.
getData
(),
bundlesSource
.
getType
());
if
(
null
!=
setSpec
)
{
final
String
referenceOfBS
=
bundlesSource
.
getReference
();
if
(
bundlesSource
.
getType
()
==
BundlesSourceType
.
XSLT_OAI_PMH
)
{
if
(
bundlesSource
.
getType
()
==
BundlesSourceType
.
XSLT_OAI_PMH
&&
!
referenceOfBS
.
contains
(
"___"
)
)
{
bundlesSource
.
setReference
(
referenceOfBS
+
"___"
+
setSpec
);
}
else
{
bundlesSource
.
setReference
(
referenceOfBS
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment