Skip to content

Remove profile from dirty list when deleting it#16344

Merged
michaelDCurran merged 2 commits into
nvaccess:masterfrom
CyrilleB79:remDirtyProfiles
Apr 1, 2024
Merged

Remove profile from dirty list when deleting it#16344
michaelDCurran merged 2 commits into
nvaccess:masterfrom
CyrilleB79:remDirtyProfiles

Conversation

@CyrilleB79

@CyrilleB79 CyrilleB79 commented Mar 29, 2024

Copy link
Copy Markdown
Contributor

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
@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