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

[4124] Fix uninitialized property exception in AllergensAlertFrament #4130

Conversation

naivekook
Copy link
Contributor

Description

Fix the uninitialized property exception in AllergensAlertFrament.
This is more like hotfix - just check the property before calling its method. The idea case to understand why destroy happens before recycler initialization and refactor the code, but it requires time.

Related issues

#4124

@naivekook naivekook force-pushed the vt/fix-uninitialized-property-for-allergen-alert branch from cf207eb to 1b8a651 Compare August 6, 2021 14:03
@naivekook naivekook force-pushed the vt/fix-uninitialized-property-for-allergen-alert branch from 1b8a651 to 2ce8125 Compare August 7, 2021 13:11
@sonarcloud
Copy link

sonarcloud bot commented Aug 7, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@VaiTon VaiTon merged commit 5141f8d into openfoodfacts:develop Aug 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants