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

Profile deletion in the UI is not reflected in the AIDL API #1515

Open
kaoet opened this issue Aug 5, 2022 · 1 comment
Open

Profile deletion in the UI is not reflected in the AIDL API #1515

kaoet opened this issue Aug 5, 2022 · 1 comment

Comments

@kaoet
Copy link

kaoet commented Aug 5, 2022

To make issues more manageable, I would appreciate it if you fill out the following details as applicable:

General information

  1. Android Version: API version 33
  2. Android Vendor/Custom ROM: Android simulator
  3. Device: Android simulator
  4. Version of the app (version number/play store version/self-built): 0.7.38 downloaded from github releases.

Description of the issue

Delete a profile in the UI, but calling getProfiles() in another app still getting the old profile listed.

Steps to reproduce

  1. Create a profile in OpenVPN for Android.
  2. Don't kill OpenVPN for Android, but switch to another app.
  3. In another app, call getProfiles() API. You can find the new profile is listed.
  4. Switch back to OpenVPN for Android, and delete that profile.
  5. Don't kill OpenVPN for Android. Switch back to the other app again and call getProfiles() API.

Expected behaviour

getProfiles() does not return the deleted profile.

Observed

getProfiles() still returns the same content, with the deleted profile inside.

@schwabe
Copy link
Owner

schwabe commented Aug 8, 2022

This is probalby not something I will fix soon. The way the backend currently is designed that it currently only refreshes the list of VPN profiles or profiles themselves if need to. Adding keeping track or triggering explicit refreshes is certainly possible but is not a quick fix.

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

No branches or pull requests

2 participants