Delete file S3 not working

Wappler Version: 3.2.2
Operating System: windows

Expected behavior

What do you think should happen?

Putfile to S3 works, but not delete file

Actual behavior

What actually happens?
All my send are ok (with putfile), but when i ant to delete some files (with s3 delete file) with the same key, nothing happens and the server connect doesn’t stop (without errors)… At the and i hade a database update, so my last database statement write that the file is deleted, but its not.

How to reproduce

{

        "name": "putFile1",

        "module": "s3",

        "action": "putFile",

        "options": {

          "provider": "provider1",

          "bucket": "mylovelyplanet",

          "key": "{{$_GET.filename}}",

          "path": "{{'/assets/uploads/'+$_GET.filename}}"

        },

        "outputType": "boolean"

      },

      {

        "name": "deleteFile1",

        "module": "s3",

        "action": "deleteFile",

        "options": {

          "provider": "provider1",

          "bucket": "mylovelyplanet",

          "key": "{{$_GET.filename}}"

        },

        "outputType": "boolean"

      },

I also tried in two steps, with delete only some minutes later, same result (so its not a question of synchronism or delay between creation and delete)

Is it a bug or not ?

Are you using PHP or Node?

php

Tried many think, but no success.
Something curious, the S3 server send back a list of all the file in the same bucket

fabrice

Sorry for the long wait, here an update. Replace the file in dmxConnectLib/modules.

s3.zip (1.2 KB)

thanks, i can confirm its working

Fixed in Wappler 3.3.2

This topic was automatically closed after 31 hours. New replies are no longer allowed.