git-svn-id: https://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/Common/storagehub-client@176002 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
a6dceeec83
commit
66a2bf8d25
|
@ -42,6 +42,7 @@ public abstract class ItemContainer<I extends Item> {
|
|||
if (item==null || invalidated) {
|
||||
I toRet = (I)itemclient.get(itemId);
|
||||
invalidated = false;
|
||||
item = toRet;
|
||||
return toRet;
|
||||
}
|
||||
else return item;
|
||||
|
|
|
@ -516,10 +516,10 @@ public class DefaultItemManager implements ItemManagerClient {
|
|||
GXWebTargetAdapterRequest myManager = manager.path(parentId)
|
||||
.path("create").path("FOLDER");
|
||||
|
||||
MultivaluedMap<String, Object> formData = new MultivaluedHashMap<String, Object>();
|
||||
MultivaluedMap<String, String> formData = new MultivaluedHashMap<String, String>();
|
||||
formData.add("name", name);
|
||||
formData.add("description", description);
|
||||
formData.add("hidden", hidden);
|
||||
formData.add("hidden", Boolean.toString(hidden));
|
||||
|
||||
|
||||
GXInboundResponse response = myManager.post(Entity.entity(formData, MediaType.APPLICATION_FORM_URLENCODED));
|
||||
|
|
Loading…
Reference in New Issue