jesus2099 / konami-command

power‐ups for various web sites
123 stars 27 forks source link

Compute permalink MBID and replace ID #703

Closed jesus2099 closed 2 months ago

jesus2099 commented 2 years ago

↖ #700 – Add hyperlinks after inline looked up entity green fields


When we load the page URL with ID, it redirects 302 to the URL with MBID.

jesus2099 commented 2 years ago

There is a problem with recording and work entity types:

type Example MBID Raw ID 302 redirected MBID Comment
area /area/525d4e18-3d00-31b9-a58b-a146a916de8f /area/240 /area/525d4e18-3d00-31b9-a58b-a146a916de8f OK same
artist /artist/59e7ace7-3233-4f56-af78-4765957402cb /artist/10 /artist/59e7ace7-3233-4f56-af78-4765957402cb OK same
editor /user/jesus2099 /user/285909 🔴 not implemented OK not needed
event /event/ca1df239-b98c-4a34-9573-ea5b3f9a2370 /event/45606 /event/ca1df239-b98c-4a34-9573-ea5b3f9a2370 OK same
instrument /instrument/63cfd648-2022-4390-8740-1ea86259574f /instrument/106 /instrument/63cfd648-2022-4390-8740-1ea86259574f OK same
label /label/35b927af-46db-479e-ad2a-b3db850fff49 /label/47195 /label/35b927af-46db-479e-ad2a-b3db850fff49 OK same
place /place/704632a5-1c85-485f-aea2-265574be4f0c /place/4640 /place/704632a5-1c85-485f-aea2-265574be4f0c OK same
recording /recording/88f20741-0c96-4514-80d2-ea9c50e7cb4d /recording/376791 (or 272811 that exists in localhost) /recording/36e46157-c309-4ff2-98f5-e35c3358c832 🔴 🔴 It's actually the track ID 376791's recording (completely unrelated):/track/376791 not the recording ID 376791
release-group /release-group/6c9ae3dd-32ad-472c-96be-69d0a3536261 /release-group/1086747 /release-group/6c9ae3dd-32ad-472c-96be-69d0a3536261 OK same
release /release/5969be5e-c541-3c2b-b1e1-1fc58ff9817d /release/404353 /release/5969be5e-c541-3c2b-b1e1-1fc58ff9817d OK same
series /series/3b8fac97-b01b-4c76-b11a-ea080d39ed21 /series/182 /series/3b8fac97-b01b-4c76-b11a-ea080d39ed21 OK same
work /work/96d46989-fe81-3050-8574-885c21e248d8 /work/598157 (or 12431696 that exists in localhost) /work/598157 🔴 🔴 Correct entity displayed but does not redirect to MBID!
jesus2099 commented 2 years ago

Will I remove works workaround when MBS-12562 is deployed?

jesus2099 commented 2 months ago

Thanks to MBS devs, I have now removed my recording exclusion (now we have recording permalinks!!) and my Work work-around.