- ABP Framework version: v4.4.2
- UI type: Angular
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): Identity Server Separated ( Application Template )
- Exception message and stack trace:
- Steps to reproduce the issue:"
- Need to remove the Menus a) My Account b) Linked Account c) Security Logs
- Forgot password - throws 500 internal error when clicked to send mail.
- when launching login or after logout from the application getting this below error
4 ) For Menu's even though it it localised in the en.json, the localised value is not showing up in the Menu
14 Answer(s)
-
0
Hi, can you share logs for 500 and 403 errors?
-
0
Hi Sure, will share log in next 5 hrs.
Can I have update on the other issues reported in this issue , there are total 5 issues reported.
-
0
UserMenuService removeitem() allows you to remove items from the menu that you don't want.
import { APP_INITIALIZER } from '@angular/core'; import { eUserMenuItems } from '@volosoft/abp.ng.theme.lepton-x'; export const USERMENUPROVIDER = [ { provide: APP_INITIALIZER, useFactory: userMenuRoutes, deps: [UserMenuService], multi: true }, ]; function userMenuRoutes(userMenu: UserMenuService) { return () => { userMenu.removeItem(eUserMenuItems.LinkedAccounts); userMenu.removeItem(eUserMenuItems.MyAccount); userMenu.removeItem(eUserMenuItems.SecurityLogs); }; }
-
0
We can answer the rest of them after you provide specific logs about errors
-
0
https://drive.google.com/file/d/1i7M3cUaDeQIQr24ET8oUqV9k3iqEfIXN/view?usp=sharing
Pls find the log file for the errors 403 & 500
-
0
Can you pls answer point 4, the menus are getting localised even though en.json has localise text and localisation service is called in angular
-
0
-
0
https://drive.google.com/file/d/1i7M3cUaDeQIQr24ET8oUqV9k3iqEfIXN/view?usp=sharing
Pls find the log file for the errors 403 & 500
I can't see any error different than
2022-10-19 12:55:40.638 +08:00 [ERR] GetHealthReport threw an exception when trying to get report from /health-status configured with name BIMS Health Status. System.InvalidOperationException: An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set. at System.Net.Http.HttpClient.PrepareRequestMessage(HttpRequestMessage request) at System.Net.Http.HttpClient.CheckRequestBeforeSend(HttpRequestMessage request) at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken) at System.Net.Http.HttpClient.GetAsync(Uri requestUri) at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetHealthReport(HealthCheckConfiguration configuration)
Did you remove or modify the default healthcheck configuration?
-
0
Can you try following configuration according to your situation?
https://support.abp.io/QA/Questions/3327/#answer-4ca736a0-24be-8f01-e071-3a04dad4fb30
-
0
-
0
ALso point 4 need an anwser
-
0
-
0
These are built in menus I have added new menus which are not getting localised and I have not changed anywhere,
-
0
there are several questions in this issue, this is not allowed. you should create new issues for your each question