Skip to content

Check whether regionId isset in fairteiler control

David requested to merge fix-region-id-isset into master

What does this MR do?

Fixes https://sentry.io/organizations/foodsharing-ev/issues/1259328360/?project=1400912

Region id may be null which causes a crash. This adds an additional check in mayEdit

How confident are you it won't break things if deployed?

Very

Links to related issues

https://sentry.io/organizations/foodsharing-ev/issues/1259328360/?project=1400912

Checklist

  • added a test, or explain why one is not needed/possible...
  • no unrelated changes
  • asked someone for a code review
  • joined #foodsharing-beta channel at https://slackin.yunity.org
  • added an entry to CHANGELOG.md (description, merge request link, username(s))
  • Once your MR has been merged, you are responsible to update the #foodsharing-beta Slack channel about what has been changed here. They will test your work in different browsers, roles or other settings

Merge request reports