fsouza / fake-gcs-server

Google Cloud Storage emulator & testing library.
https://pkg.go.dev/github.com/fsouza/fake-gcs-server/fakestorage?tab=doc
BSD 2-Clause "Simplified" License
1.04k stars 210 forks source link

1.49.1 gives me "Invalid Date" error in ruby google cloud storage implementation #1632

Closed AlvesJorge closed 3 months ago

AlvesJorge commented 3 months ago

Sorry don't have the time to provide a working reproducible example.

I tested 1.48, and 1.49.0 and I can confirm this only happens in 1.49.1

My implementation is a simple set client -> set bucket > bucket.upload(bytes, path), and somehow I get an error saying "Invalid Date", where clearly I'm not setting anything date related in my upload arguments.

AlvesJorge commented 3 months ago

Of course, just so anyone else is getting this error, just specify 1.49.0 as your desired version

AlvesJorge commented 3 months ago

Might be this change

fsouza commented 3 months ago

Thanks for reporting and sorry for the breakage. I just published 1.49.2. Can you confirm that this issue is fixed in that release?

AlvesJorge commented 3 months ago

Yes, it is indeed working normally! No worries with the bug, this project is very useful and I'm very grateful for it, keep up the great work! 😄