Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MBS-11700: Do not assume cdtoc_id exists #2135

Merged
merged 2 commits into from Jun 8, 2021

Conversation

reosarevok
Copy link
Member

Fix MBS-11700 and a second, not yet released bug

See commit messages. Both bugs apply on edit 531554.

Apparently, very old remove discID edits have a null cdtoc_id.
Since we are not currently using it (I only added it here originally
because we expect CDTOCs to have an ID), we can drop it again.
Some old edit notes are apparently missing post_time,
which was causing an ISE when trying to load them since
formatUserDate can't cope with being passed null.
Rather than making formatUserDate accept null, this returns a
'[time missing]' string that can at least still be used
to link to the note, which wasn't possible in the TT version.
@reosarevok reosarevok added the Regression/Beta Bugs that are either on beta or new regressions and should be checked ASAP label Jun 8, 2021
Copy link
Contributor

@yvanzo yvanzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@reosarevok reosarevok merged commit 3e97ff0 into metabrainz:master Jun 8, 2021
@reosarevok reosarevok deleted the MBS-11700 branch June 8, 2021 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Regression/Beta Bugs that are either on beta or new regressions and should be checked ASAP
Projects
None yet
3 participants