Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-2475

FIWARE.Request.Tech.Apps.ApplicationMashup.ObjectStorageListContainerNotWorking

    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

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open In Progress In Progress
          5h 13m 1 Álvaro Arranz 09/Apr/15 4:41 PM
          In Progress In Progress Answered Answered
          13d 1h 37m 1 Álvaro Arranz 22/Apr/15 6:18 PM
          Answered Answered Closed Closed
          2s 1 Álvaro Arranz 22/Apr/15 6:18 PM
          fla Fernando Lopez made changes -
          Fix Version/s 2021 [ 12600 ]
          mev Manuel Escriche made changes -
          HD-Enabler Wirecloud [ 10857 ]
          HD-Chapter Apps [ 10836 ]
          mev Manuel Escriche made changes -
          Summary FIWARE.Request.Lab.Apps.ApplicationMashup.ObjectStorageListContainerNotWorking FIWARE.Request.Tech.Apps.ApplicationMashup.ObjectStorageListContainerNotWorking
          aarranz Álvaro Arranz made changes -
          Summary [Fiware-lab-help] [BUG] ObjectStorage JavaScript API :: listContainer() method not working properly FIWARE.Request.Lab.Apps.ApplicationMashup.ObjectStorageListContainerNotWorking
          Hide
          aarranz Álvaro Arranz added a comment -

          New version of WireCloud deployed on FIWARE Lab fixing this bug

          Show
          aarranz Álvaro Arranz added a comment - New version of WireCloud deployed on FIWARE Lab fixing this bug
          aarranz Álvaro Arranz made changes -
          Resolution Done [ 10000 ]
          Status Answered [ 10104 ] Closed [ 6 ]
          aarranz Álvaro Arranz made changes -
          Status In Progress [ 3 ] Answered [ 10104 ]
          aarranz Álvaro Arranz made changes -
          Link This issue is duplicated by HELP-2474 [ HELP-2474 ]
          Hide
          aarranz Álvaro Arranz added a comment -

          I've fixed the bug. I will deploy a new version of WireCloud on FIWARE Lab ASAP.

          Best regards.

          Show
          aarranz Álvaro Arranz added a comment - I've fixed the bug. I will deploy a new version of WireCloud on FIWARE Lab ASAP. Best regards.
          aarranz Álvaro Arranz made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          aarranz Álvaro Arranz made changes -
          Link This issue is cloned by APP-494 [ APP-494 ]
          aarranz Álvaro Arranz made changes -
          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". 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
          aarranz Álvaro Arranz made changes -
          Field Original Value New Value
          Summary [BUG] ObjectStorage JavaScript API :: listContainer() method not working properly [Fiware-lab-help] [BUG] ObjectStorage JavaScript API :: listContainer() method not working properly
          aarranz Álvaro Arranz created issue -

            People

            • Assignee:
              aarranz Álvaro Arranz
              Reporter:
              aarranz Álvaro Arranz
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: