Skip to content

add-on store: Handle bad download error#15861

Merged
seanbudd merged 2 commits into
masterfrom
fix-15796
Dec 4, 2023
Merged

add-on store: Handle bad download error#15861
seanbudd merged 2 commits into
masterfrom
fix-15796

Conversation

@seanbudd

@seanbudd seanbudd commented Nov 30, 2023

Copy link
Copy Markdown
Member

Link to issue number:

Fixes #15796

Summary of the issue:

Sometimes an add-on file fails to download correctly.
This causes an error that isn't recoverable without notification to the user.

Description of user facing changes

If an add-on download file cannot be successfully loaded as a zipfile, warn the user that the installation has failed and let the user continue with their tasks.

in my opinion this fix is not worthy of a changelog entry

Description of development approach

Catch error

Testing strategy:

test by manually giving zipfile a bad file path in source code

Known issues with pull request:

doesn't fix unknown rare underlying error, but this is much better handling

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.

@seanbudd seanbudd requested a review from a team as a code owner November 30, 2023 06:47
@CyrilleB79

Copy link
Copy Markdown
Contributor

#15796 has been reported by at least two persons (@cary-rowen and myself). And the very bad resulting UX was that NVDA needs to be restarted due to a never closing progress dialog.
Given that, I think that an item should be put in the change log.

@seanbudd seanbudd merged commit 36d5f50 into master Dec 4, 2023
@seanbudd seanbudd deleted the fix-15796 branch December 4, 2023 03:39
@nvaccessAuto nvaccessAuto added this to the 2024.1 milestone Dec 4, 2023
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.

In some cases, downloading add-ons from the add-on store and performing installation will not install successfully.

4 participants