minor fix
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/grsf-publisher-ws@133202 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
92d8d0bc47
commit
8f8c0bbdd2
|
@ -163,7 +163,7 @@ public class GrsfPublisherFisheryService {
|
|||
|
||||
logger.debug("A product with name " + futureName + " already exists");
|
||||
responseBean.setId(null);
|
||||
status = Status.BAD_REQUEST;
|
||||
status = Status.CONFLICT;
|
||||
throw new Exception("Sorry but a product with such name already exists!");
|
||||
|
||||
}else{
|
||||
|
|
|
@ -155,7 +155,7 @@ public class GrsfPublisherStockService {
|
|||
|
||||
logger.debug("A product with name " + futureName + " already exists");
|
||||
responseBean.setId(null);
|
||||
status = Status.BAD_REQUEST;
|
||||
status = Status.CONFLICT;
|
||||
throw new Exception("Sorry but a product with such name already exists!");
|
||||
|
||||
}else{
|
||||
|
@ -221,7 +221,7 @@ public class GrsfPublisherStockService {
|
|||
tags,
|
||||
customFields,
|
||||
resources,
|
||||
setPublic); // TODO
|
||||
setPublic);
|
||||
|
||||
if(id != null){
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ public enum Type {
|
|||
|
||||
Assessment_Unit("Assessment Unit"),// for stock
|
||||
Resource("Resource"), // for stock
|
||||
Fishing_Activity("Fishing Activity"), // for fishery
|
||||
Fishery_Activity("Fishery Activity"), // for fishery
|
||||
Fishing_Description("Fishing Description"); // for fishery
|
||||
|
||||
private String subGroupNameOrig;
|
||||
|
|
Loading…
Reference in New Issue