Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
HD-Chapter:Apps
-
HD-Enabler:Wirecloud
Description
I'm trying to implement a WireCloud widget which communicates with ObjectStorage via JS ObjectStorageAPI. After some troubles with enabling ObjectStorageAPI i've manages to run command os_api.listContainer() and in response I've got 409 error, with message attached "The requested name already exists as a different type". I've managed to figure out what is causing this error. In order to list a container, cdmi request url must end with "/" character. When I use os_api.listContainer() it generates url without it. If I manually append '/' character to request url, valid response is returned with container's contents. First idea of fixing it - to append "/" to container's name within function call doesn't work. "/" character is replaced by escape sequence "%2F".
More details: http://stackoverflow.com/questions/29279391/the-requested-name-already-exists-as-a-different-type-http-409-response-error
Real reporter: Michał Michalski
Issue Links
- is duplicated by
-
HELP-2474 FIWARE.Request.Tech.Apps.ApplicationMashup.ObjectStorageListContainerNotWorking
- Closed
I've fixed the bug. I will deploy a new version of WireCloud on FIWARE Lab ASAP.
Best regards.