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

[production][project#monitor] can't convert nil into Integer #5774

Closed
saraycp opened this issue Sep 3, 2018 · 0 comments · Fixed by #5802
Closed

[production][project#monitor] can't convert nil into Integer #5774

saraycp opened this issue Sep 3, 2018 · 0 comments · Fixed by #5802
Assignees
Labels
Bug Frontend Things related to the OBS RoR app

Comments

@saraycp
Copy link
Contributor

saraycp commented Sep 3, 2018

project#monitor threw this 0 times

can't convert nil into Integer

https://build.opensuse.org/project/monitor/GNOME:Next?arch_x86_64=1&defaults=0&repo_openSUSE_Factory=1&unresolvable="

See this exception on Errbit

@DavidKang DavidKang added Bug Frontend Things related to the OBS RoR app labels Sep 3, 2018
ChrisBr added a commit to ChrisBr/open-build-service that referenced this issue Sep 6, 2018
to fix can't convert nil into Integer when converting to_i with a default value.
Fix openSUSE#5774.
@ChrisBr ChrisBr self-assigned this Sep 6, 2018
ChrisBr added a commit to ChrisBr/open-build-service that referenced this issue Sep 6, 2018
ChrisBr added a commit to ChrisBr/open-build-service that referenced this issue Sep 6, 2018
to first check if it is a valid number and only
convert a valid number.
Also refactored the code a little to be less
obfuscating.

Fix openSUSE#5774.
ChrisBr added a commit to ChrisBr/open-build-service that referenced this issue Sep 6, 2018
to first check if it is a valid number and only
convert a valid number.
Also refactored the code a little to be less
obfuscating.

Fix openSUSE#5774.
ChrisBr added a commit to ChrisBr/open-build-service that referenced this issue Sep 7, 2018
to check for '0' instead of converting the value.

Fix openSUSE#5774.
ChrisBr added a commit to ChrisBr/open-build-service that referenced this issue Sep 11, 2018
to check for '0' instead of converting the value.

Fix openSUSE#5774.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Frontend Things related to the OBS RoR app
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants