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

Error exporting settings: unable to save file with the same name after changing it #5069

Closed
3 of 4 tasks
PavelParkhomenko opened this issue Nov 8, 2023 · 1 comment
Closed
3 of 4 tasks

Comments

@PavelParkhomenko
Copy link

PavelParkhomenko commented Nov 8, 2023

Please answer the following questions for yourself before submitting an issue.

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

AdGuard version

4.2; 4.3 Nightly 26

Environment

- OS: Android 14
- Device:Google Pixel 7 Pro

Root access

  • Yes, I have it.

What filters do you have enabled?

No response

What Stealth Mode options do you have enabled?

No response

Issue Details

Steps to reproduce:

  1. Tap "Settings" icon at the bottom
  2. Tap 3-dots in the top right corner and tap "Export Settings"
  3. Change the name of the file to some string, for example XXX.zip
  4. The settings are exported
  5. Tap "Settings" - 3-dots - "Export Settings"
  6. Change the file name to the previous string, in our example XXX.zip
  7. Tap on "Save"

Expected Behavior

The exported settings file should be saved as "name(1)" if attempting to overwrite an existing file with the same name.

Actual Behavior

AdGuard fails to save the file: Failed to export settings. An internal error occurred (Screenshot 1)
AdGuard detected that a file with the specified name already exists, tried to create a file with the name "name (1)", but failed (Screenshot 2)

Screenshots

Screenshot 1:

image

Screenshot 2:

image

Additional Information

Also important to note that after renaming and successful saving, the old file name is displayed on the All done popup dialog.

Screenshot

tempFileForShare_20231127-103342

@AntonVoronkin
Copy link

These are the problems of the android system, which cannot recognize where its file extension ends. File name in "All done" popup will be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants