Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

DeleteObjects #56

Open
pola88 opened this issue May 21, 2014 · 7 comments
Open

DeleteObjects #56

pola88 opened this issue May 21, 2014 · 7 comments

Comments

@pola88
Copy link
Contributor

pola88 commented May 21, 2014

Hi everyone,

I have a problem to remove all objects for one bucket.
I'm using aws-sdk-js for nodejs and I call 'deleteObjects' to remove them but I am not getting any error from fake-s3 and the objects are not deleted.
What am I missing?

Maybe this helps, I see the following on the fake-s3 log:

localhost - - [21/May/2014:18:02:08 ART] "POST /fakeBucket?delete HTTP/1.1" 200 0
- -> /fakeBucket?delete

Thanks in advance,
PoLa.

@sgerace
Copy link

sgerace commented Aug 6, 2014

@pola88 I'm having exactly the same problem (with the same setup)...did you have any luck figuring out a solution?

@pola88
Copy link
Contributor Author

pola88 commented Aug 7, 2014

Hi @sgerace , I forked the branch and I added my function for that. If you want, you can take a look at https://github.com/pola88/fake-s3

Let me know if you see something wrong with what I did.

@sgerace
Copy link

sgerace commented Aug 7, 2014

@pola88 Ahh, nice, maybe I'll have to throw that into my fork; I kept running into Permission Denied issues when trying to delete a bucket even after deleting all the objects (I just converted my code to call deleteObject individually). I think there was a file handler being left open in get_object (see #61).

@jd
Copy link

jd commented Aug 9, 2016

@pola88 Any reason you did not send that as a PR?

@pola88
Copy link
Contributor Author

pola88 commented Aug 9, 2016

Hi @jd , no, I thought that I did.
I am doing now.

@souvikduttachoudhury
Copy link

Unable to delete bucket.Showing Internal Server Error

@animir
Copy link

animir commented Aug 31, 2018

Is somebody going to merge related PRs?
Still issue here [object Object] "Unexpected close tag\nLine: 11\nColumn: 9\nChar: >" Error: "Unexpected close tag\nLine: 11\nColumn: 9\nChar: >"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants