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

Remove profile from dirty list when deleting it #16344

Merged
merged 2 commits into from Apr 1, 2024

Conversation

CyrilleB79
Copy link
Collaborator

@CyrilleB79 CyrilleB79 commented Mar 29, 2024

Link to issue number:

Closes #16343

Summary of the issue:

When a dirty (modified) profile is deleted and the config is then saved, an error is raised in the function that saves the configuration. This may lead to other dirty profiles not being saved.

Description of user facing changes

A rare case where profiles are not saved is fixed.

Description of development approach

Remove the profile from dirty profiles list when it is deleted.

Testing strategy:

Manual testing STR from #16343.

Known issues with pull request:

None

Code Review Checklist:

  • Documentation:
    • Change log entry
    • User Documentation
    • Developer / Technical Documentation
    • Context sensitive help for GUI changes
  • Testing:
    • Unit tests
    • System (end to end) tests
    • Manual testing
  • UX of all users considered:
    • Speech
    • Braille
    • Low Vision
    • Different web browsers
    • Localization in other languages / culture than English
  • API is compatible with existing add-ons.
  • Security precautions taken.

@CyrilleB79 CyrilleB79 marked this pull request as ready for review March 29, 2024 21:16
@CyrilleB79 CyrilleB79 requested a review from a team as a code owner March 29, 2024 21:16
@michaelDCurran michaelDCurran merged commit b865b2c into nvaccess:master Apr 1, 2024
1 check passed
@nvaccessAuto nvaccessAuto added this to the 2024.2 milestone Apr 1, 2024
@CyrilleB79 CyrilleB79 deleted the remDirtyProfiles branch April 2, 2024 06:56
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

Successfully merging this pull request may close these issues.

Error when saving the configuration
3 participants