Skip to content

Conversation

@gabrielbusta
Copy link
Contributor

Fixes #1530

@gabrielbusta gabrielbusta added the bug Something isn't working label Jul 22, 2024
@gabrielbusta gabrielbusta requested a review from a team July 22, 2024 22:08
Copy link
Contributor

@gbrownmozilla gbrownmozilla left a comment

Choose a reason for hiding this comment

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

I'm not sure I understand the issue, but this seems worth trying.

Copy link
Contributor

@jcristau jcristau left a comment

Choose a reason for hiding this comment

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

This feels like it should be fixed in the frontend, to not send a null value...

releases = releases.filter(Release.version == version)
if build_number:
releases = releases.filter(Release.build_number == build_number)
releases = releases.filter(Release.build_number == int(build_number))
Copy link
Contributor

Choose a reason for hiding this comment

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

If build_number is not an int this will raise ValueError and presumably turn into a 500, which we don't want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Permanent 400/white screen crash blocking the creation of Thunderbird releases

4 participants