Starts in:
2 DAYS
2 HRS
58 MIN
20 SEC
Starts in:
2 D
2 H
58 M
20 S
Open Closed

Angular Error Handling for BusinessExceptions: http status code 403 #5412


User avatar
0
ThomasA created

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v7.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

Prior to our upgrade, when a BusinessException was thrown, angular would only show an AbpConfirmation dialog only, with a localized error message.

After the upgrade, there are 2 screens that are show. Firstly a AbpHttpErrorWrapper and then when you click 'Go Back' the AbpConfirmation dialog as above

As seen in the html, there are 2 components for the abp-confirmation dialog and also the abp-http-error-wrapper

Is there any way to disable or hide the abp-http-error-wrapper when a BusinessException with http status code 403. This is the same http status code that is used for a Forbidden AbpAuthorizationException.

Your assistance in this regard will be greatly appreciated.


1 Answer(s)
  • User Avatar
    0
    masum.ulu created
    Support Team Angular Expert

    Hi Thomas,

    This issue fixed in this PR can you please upgrade your project to 7.2.3

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06