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

Fix Retry Mechanism #487

Open
scouech opened this issue Oct 5, 2023 · 2 comments
Open

Fix Retry Mechanism #487

scouech opened this issue Oct 5, 2023 · 2 comments
Assignees

Comments

@scouech
Copy link
Contributor

scouech commented Oct 5, 2023

When the an error is thrown during initialisation, the app tries to retry but an error occurs.

To reproduce this, throw an error in appInitializationProvider (e.g. alter the INIT_TOKEN and rerun the app)

Unhandled Exception: 'package:riverpod/src/framework/element.dart': Failed assertion: line 476 pos 11: '_debugCurrentlyBuildingElement == null || _debugCurrentlyBuildingElement == this': Providers are not allowed to modify other providers during their initialization.

Please also write unit tests to test these scenarios.

@scouech
Copy link
Contributor Author

scouech commented Oct 19, 2023

@osamaasifoak that has not been done I think?

@osamaasifoak
Copy link
Contributor

Hey @scouech, the task has been completed thanks.

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

No branches or pull requests

2 participants