gabriel-dehan / dyson-sphere-blueprints

A community website to share dyson sphere program blueprints
47 stars 11 forks source link

Collections page, number of items in collection is wrong #6

Open gabriel-dehan opened 3 years ago

gabriel-dehan commented 3 years ago

/u/ItsPandatory on reddit:

Hello. I'm seeing a bug with the 'sum of all blueprint' likes on collections

My collection that has 18 total only displays as nine. https://www.dysonsphereblueprints.com/collections/public-9bc82032-674e-4658-bc30-2cd16b6764d7

I checked others on the public collections page and they are also off.

Bobbadillio commented 2 years ago

I maybe ran into this too, following the speedrun guide from: https://steamcommunity.com/sharedfiles/filedetails/?id=2615673234 There's a link in the guide to the speedrun collection at https://www.dysonsphereblueprints.com/collections/speedrun

When I download as zip, I get 20 files instead of 34. Oddly, someone in the DSP Modding discord was able to use the same link and get 34 blueprints. Both of us are using Firefox, mine is up to date, probably both are but I didn't ask. If it might matter, I'm using windows 10 and file explorer, maybe it views zip files incorrectly.

While writing this, I tried 7zip instead of the built-in windows archive viewer, so it could be some other issue unrelated to the website? I went to try your link @gabriel-dehan but it appears to be an empty collection now.

gabriel-dehan commented 2 years ago

Hey @Bobbadillio, this is not exactly the same issue (this issue was created before the ZIP feature was developed :p) but that's very odd indeed. I tried downloading it and I got the 34 documents properly. I'll try to reproduce sometime.

Could you maybe send me your ZIP that contains only 20 files so I can see if it's an issue with the generation of the ZIP or the extraction?

Thanks