- πΊπΈUnited States Tim Bozeman
Hmm. I was thinking about updating that JS and the backend that goes with it, but
@anrikun Is there any reason why when the file is saved and moved to
file_manged
, we can't just remove the entry in thefile_resup
table?It seemed to work for eelkeblok and I can't think of a reason why we wouldn't want that behaviour all the time. π€ I think that normally if you upload the same filename over and over core would just rename it for you.
- π«π·France anrikun
Hi @Tim
To be honest I can't remember why :-)
I must have done this on purpose but it's difficult to say.
Maybe you could give it a try on 8.x-1.x and see how it turns out.
And if I can remember of something in the meantime I'll let you know. - Status changed to Needs review
10 months ago 8:03pm 1 February 2024 - πΊπΈUnited States Tim Bozeman
hmmm...
Well, I've been testing it out and it sure seems to allow uploading the same filename over and over again.
Β―\_(γ)_/Β―
- π«π·France anrikun
Thank you for your great work @Tim
I'll add you as a maintainer so that you can publish a beta if you want. - π«π·France anrikun
By the way, I think I remember something.
When I designed the module, in my use case back in the day, I had to prevent a same file from being mistakenly uploaded several times (as much as possible).
So quite the opposite of what's wanted here :-D
Maybe it could be an additional setting? - πΊπΈUnited States Tim Bozeman
Ah yes, that's a good point. And people are used to how it works so it should be configurable.
- Status changed to Fixed
10 months ago 6:18pm 2 February 2024 - πΊπΈUnited States Tim Bozeman
Oh yeah that would be a neat back port. I believe it would pretty much be identical to the changes here, but I guess with variable_get and variable_set instead of config.
Automatically closed - issue fixed for 2 weeks with no activity.