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(Core): resolve infinite loop between MessageService and the ErrorInterceptor #1419

Conversation

alecarn
Copy link
Collaborator

@alecarn alecarn commented Sep 26, 2023

I tried many solutions but none worked. So I end up with this workaround, we remove the progress bar for all error messages infra-geo-ouverte/igo2#1026

@alecarn alecarn requested a review from pelord September 26, 2023 21:15
@alecarn alecarn changed the title fix(Core): resolve infinite loop between MessageService and the ErrorInterceptor fix(Core): resolve infinite loop between MessageService and the ErrorInterceptor #1026 Sep 26, 2023
@alecarn alecarn changed the title fix(Core): resolve infinite loop between MessageService and the ErrorInterceptor #1026 fix(Core): resolve infinite loop between MessageService and the ErrorInterceptor Sep 26, 2023
@pelord
Copy link
Member

pelord commented Sep 27, 2023

Did you remove the progress bar, only for errors?

@alecarn
Copy link
Collaborator Author

alecarn commented Sep 27, 2023

Did you remove the progress bar, only for errors?

Yes only for "error", we could be even more precise and add a new method to handleErrorFromHttpRequest

@alecarn alecarn self-assigned this Sep 29, 2023
Copy link
Member

@pelord pelord left a comment

Choose a reason for hiding this comment

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

Here the proposal.

Why touch to message service.?
image

@pelord pelord merged commit bc0da58 into release/16.0.0 Sep 29, 2023
1 check passed
@pelord pelord deleted the 1026-optimisation-de-lapplication-ngxtoastr-infinite-loop branch September 29, 2023 15: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.

None yet

2 participants