mirlo icon indicating copy to clipboard operation
mirlo copied to clipboard

A published album with uploaded tracks shows as inexistent and/or private

Open CPacaud123 opened this issue 1 year ago • 1 comments

This album's public page cannot be accessed. https://mirlo.space/cpacaud/release/2021

It has been published, and the tracks are uploaded and can be previewed from the edit page.

Of note, on upload, there was an interruption (as if I got automatically logged out during the upload). I had to reload the edit page and I replaced one of the files then.

firefox_t2jxs4PDsf

As discussed here (music files were DMed to si, as requested): https://discord.com/channels/1070731899317796974/1163870119215255562/1236344972110729327

CPacaud123 avatar May 04 '24 21:05 CPacaud123

I noticed that you got a working copy of the album here https://mirlo.space/cpacaud/release/2021-1

I'm looking in the db and I notice that the bugged copy of the album has a slug that's just 2021. When I set that album to "published" as well as changing the slug to 2021-slug it works fine. So what I think is happening is because the album name is a number, our slug or id function thinks it's an id, rather than a slug. I'll have to think about what makes the most sense here to fix. Definitely number slugs should be allowed.

simonv3 avatar May 09 '24 18:05 simonv3