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

Add the list of linked organizations to the database #1981

Open
quadcopterman opened this issue Jul 1, 2024 · 0 comments
Open

Add the list of linked organizations to the database #1981

quadcopterman opened this issue Jul 1, 2024 · 0 comments
Labels
bug Something isn't working fe2-android good first issue Good for newcomers

Comments

@quadcopterman
Copy link
Contributor

Description (Actual behavior)

On FE2, the federation protocol is not persistent as the list of linked organizations is not added to the database. This means that the app might forget that there was a linked organization if it is closed and reopen.

Expected behavior

The linked organization should stay even after closing and reopening the app.

How to reproduce

  1. Go to the linked organizations page
  2. Link to another organization
  3. The organization is displayed in the list of linked organizations (in the linked organizations page)
  4. Close and open the app
  5. The organization is not displayed anymore in the linked organizations page

How to solve this issue

It should be as simple as adding the linkedLaos map from LinkedOrganizationsRepository.kt to the database. The other variables of this repository are temporary for the connection so they don't need to be persistent.

@quadcopterman quadcopterman added bug Something isn't working good first issue Good for newcomers fe2-android labels Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fe2-android good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant