Skip to content

workaround to set city for addresses in wien

David requested to merge dthulke/foodsharing:issue-549 into master

What does this MR do?

The city field is missing in responses from photon for addresses in Vienna. Since it is not possible to edit the city field manually, affected users can't set their address correctly.

Since we do not know of a similar issue in another city / state and it will take some time until this will be fixed in photon, this MR adds a special workaround only for Wien.

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

Very confident. In contrast, the other solution suggested in the issue (to fall back to the state attribute in general) may break in some cases.

Links to related issues

#549 (closed)

https://yunity.slack.com/messages/C1T1ZM9A4/convo/C1T1ZM9A4-1553765705.016000/

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))
Edited by David

Merge request reports