Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Genesys Backend
Commits
16c4ac3b
Commit
16c4ac3b
authored
Dec 15, 2014
by
Matija Obreza
Browse files
Fixed issue with double confirmation emails sent to genebank
parent
6ae4581c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/genesys2/server/service/impl/RequestServiceImpl.java
View file @
16c4ac3b
...
...
@@ -207,17 +207,7 @@ public class RequestServiceImpl implements RequestService {
final
MaterialRequest
materialRequest
=
requestRepository
.
findByUuid
(
consumedToken
.
getData
());
validateRequest
(
materialRequest
);
if
(
StringUtils
.
isNotBlank
(
materialRequest
.
getPid
()))
{
// If PID is registered, break the request up
breakup
(
materialRequest
);
relayRequests
(
materialRequest
);
return
materialRequest
;
}
else
{
// Notify user
throw
new
NoPidException
(
"Not registered with PID server"
);
}
return
validateRequest
(
materialRequest
);
}
@Transactional
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment