minor fix: new status group is now added correctly
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@139868 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
f0527298af
commit
8e31ba287b
|
@ -60,7 +60,7 @@ public class PatchProductThread extends Thread{
|
|||
));
|
||||
catalogue.patchProductCustomFields(bean.getCatalogueIdentifier(), apiKey, statusMap);
|
||||
catalogue.addTag(bean.getCatalogueIdentifier(), apiKey, bean.getNewStatus().toString());
|
||||
catalogue.assignDatasetToGroup("grsf" + "-" + bean.getCurrentStatus().toString().toLowerCase(), bean.getCatalogueIdentifier(), apiKey);
|
||||
catalogue.assignDatasetToGroup("grsf" + "-" + bean.getNewStatus().toString().toLowerCase(), bean.getCatalogueIdentifier(), apiKey);
|
||||
logger.info("Record patched ...");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue