sarahsporck / Migration-Test-Repository

This repository is used to test the ticket migration from jira to github
0 stars 1 forks source link

IGAPP-851: Push notifications from test cms reach phones of users #3510

Closed jira-to-github-migrator-test[bot] closed 1 year ago

jira-to-github-migrator-test[bot] commented 1 year ago

Svenja Osmers - 24.11.2021, 17:19:59

This should only fix it for new installations without previous subscriptions.

 

Observed behaviour: 

User receives push notifications from another city or language than the currently selected one.

Possible explanation:

Unsubscribed failed, e.g. because of missing internet connection during city or language switch.

Possibly solution:

Use the future cms django endpoint to get all subscriptions and unsubscribe from all topics that are no the current city/language.

Environment: - Linked issues:

jira-to-github-migrator-test[bot] commented 1 year ago

Svenja Osmers - 24.11.2021, 18:47:08

Just wondering - what we observed where messages sent in the Test CMS - so unless we test push in another Instanz within the Test CMS, users should not receive any messages, right? It can't happen within the normal CMS when cities send messages?

Steffen Kleinle - 27.11.2021, 12:02:22

I think it can happen there as well. If user selects Augsburg and then switches to Munich while offline, he may still receive messages from Augsburg.

Steffen Kleinle - 27.11.2021, 15:00:33

With django there will be an endpoint to fetch the current subscriptions of a user: https://github.com/Integreat/integreat-cms/issues/1043