Skip to content

Fix profile upgrade step for excluded displays#15371

Merged
seanbudd merged 1 commit into
nvaccess:betafrom
LeonarddeR:upgradeFix
Sep 5, 2023
Merged

Fix profile upgrade step for excluded displays#15371
seanbudd merged 1 commit into
nvaccess:betafrom
LeonarddeR:upgradeFix

Conversation

@LeonarddeR

Copy link
Copy Markdown
Collaborator

Link to issue number:

Closes #15370

Summary of the issue:

The profile upgrade step for excluded displays can fail severely if keys don't exist in the profile.

Description of user facing changes

Crashes or upgrade failures no longer occur.

Description of development approach

Add extra checks for key existence.

Testing strategy:

Removed the auto section from the braille configuration and ensured that the profile upgrade was executed correctly on launch.

Known issues with pull request:

None known

Change log entries:

None needed

Code Review Checklist:

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

Signed-off-by: Leonard de Ruijter <L.de.Ruijter@sevenp.nl>
@LeonarddeR LeonarddeR requested a review from a team as a code owner September 5, 2023 05:55
@LeonarddeR LeonarddeR requested review from seanbudd and removed request for a team September 5, 2023 05:55

@seanbudd seanbudd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @LeonarddeR

@seanbudd seanbudd merged commit 0a4e2ea into nvaccess:beta Sep 5, 2023
@nvaccessAuto nvaccessAuto added this to the 2024.1 milestone Sep 5, 2023
@seanbudd seanbudd modified the milestones: 2024.1, 2023.3 Sep 5, 2023
@LeonarddeR LeonarddeR deleted the upgradeFix branch August 23, 2025 06:28
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.

3 participants