done
Please answer this problem asap; I have been having an issue with aspnetzero and renewing my subscripotion, which was recently resolved. thanks.
Last Note: I am not getting any notifications to my [email protected] account or the [email protected] accounts.
I have asked for this to be fixed but has not been completed.
I have given you access to my project: murphymj5209/MorthoTest. plz use it to figure out what is the problem. thanks.
The json file is in the ticket already. look for *** here is the .json file How do i insert the actual file?
My work is in the Dev branch.
FYI, 1) the above PowerTools, I feel worked about 3-4 months ago because I generated this entity 2) I tried the 11.4 version same error 'but' there was no error message in the npm start.
This error message did not happen with 11.4 No store type was specified for the decimal property 'ShoeSizeLengthInches' on entity type 'MorthoAzureLocalShoeSizeInformation'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'. 3) I am starting the above from a new local install of aspnetzero 4) here is the generated error information from VS Severity Code Description Project File Line Suppression State Error TS2339 (TS) Property 'enumShoeSizeGenderTypeFilter' does not exist on type 'MorthoAzureLocalShoeSizeInformationsesComponent'. C:\github\murphymj5209\Mortho-11-4\Mortho\angular\src\tsconfig.json C:\github\murphymj5209\Mortho-11-4\Mortho\angular\src\app\admin\nsMorthoAzureLocalShoeSizeInformation\morthoAzureLocalShoeSizeInformationses\morthoAzureLocalShoeSizeInformationses.component.ts 156 Active 5) here is the generated code import {AppConsts} from '@shared/AppConsts'; import { Component, Injector, ViewEncapsulation, ViewChild } from '@angular/core'; import { ActivatedRoute , Router} from '@angular/router'; import { MorthoAzureLocalShoeSizeInformationsesServiceProxy, MorthoAzureLocalShoeSizeInformationsDto } from '@shared/service-proxies/service-proxies'; import { NotifyService } from 'abp-ng2-module'; import { AppComponentBase } from '@shared/common/app-component-base'; import { TokenAuthServiceProxy } from '@shared/service-proxies/service-proxies'; import { CreateOrEditMorthoAzureLocalShoeSizeInformationsModalComponent } from './create-or-edit-morthoAzureLocalShoeSizeInformations-modal.component';
import { ViewMorthoAzureLocalShoeSizeInformationsModalComponent } from './view-morthoAzureLocalShoeSizeInformations-modal.component'; import { appModuleAnimation } from '@shared/animations/routerTransition'; import { Table } from 'primeng/table'; import { Paginator } from 'primeng/paginator'; import { LazyLoadEvent } from 'primeng/api'; import { FileDownloadService } from '@shared/utils/file-download.service'; import { filter as _filter } from 'lodash-es'; import { DateTime } from 'luxon';
import { DateTimeService } from '@app/shared/common/timing/date-time.service';
@Component({ templateUrl: './morthoAzureLocalShoeSizeInformationses.component.html', encapsulation: ViewEncapsulation.None, animations: [appModuleAnimation()] }) export class MorthoAzureLocalShoeSizeInformationsesComponent extends AppComponentBase {
@ViewChild('createOrEditMorthoAzureLocalShoeSizeInformationsModal', { static: true }) createOrEditMorthoAzureLocalShoeSizeInformationsModal: CreateOrEditMorthoAzureLocalShoeSizeInformationsModalComponent;
@ViewChild('viewMorthoAzureLocalShoeSizeInformationsModalComponent', { static: true }) viewMorthoAzureLocalShoeSizeInformationsModal: ViewMorthoAzureLocalShoeSizeInformationsModalComponent;
@ViewChild('dataTable', { static: true }) dataTable: Table;
@ViewChild('paginator', { static: true }) paginator: Paginator;
advancedFiltersAreShown = false;
filterText = '';
shoeSizeCountrySexSizeFilter = '';
maxenumShoeSizeGenderTypeFilter : number;
maxenumShoeSizeGenderTypeFilterEmpty : number;
minenumShoeSizeGenderTypeFilter : number;
minenumShoeSizeGenderTypeFilterEmpty : number;
shoeSizeValueFilter = '';
maxShoeSizeLengthInchesFilter : number;
maxShoeSizeLengthInchesFilterEmpty : number;
minShoeSizeLengthInchesFilter : number;
minShoeSizeLengthInchesFilterEmpty : number;
maxShoeSizeLengthCentimetersFilter : number;
maxShoeSizeLengthCentimetersFilterEmpty : number;
minShoeSizeLengthCentimetersFilter : number;
minShoeSizeLengthCentimetersFilterEmpty : number;
shoeSizeDefaultFilter = -1;
shoeSizeCountryFilter = '';
constructor(
injector: Injector,
private _morthoAzureLocalShoeSizeInformationsesServiceProxy: MorthoAzureLocalShoeSizeInformationsesServiceProxy,
private _notifyService: NotifyService,
private _tokenAuth: TokenAuthServiceProxy,
private _activatedRoute: ActivatedRoute,
private _fileDownloadService: FileDownloadService,
private _dateTimeService: DateTimeService
) {
super(injector);
}
getMorthoAzureLocalShoeSizeInformationses(event?: LazyLoadEvent) {
if (this.primengTableHelper.shouldResetPaging(event)) {
this.paginator.changePage(0);
if (this.primengTableHelper.records &&
this.primengTableHelper.records.length > 0) {
return;
}
}
this.primengTableHelper.showLoadingIndicator();
this._morthoAzureLocalShoeSizeInformationsesServiceProxy.getAll(
this.filterText,
this.shoeSizeCountrySexSizeFilter,
this.maxenumShoeSizeGenderTypeFilter == null ? this.maxenumShoeSizeGenderTypeFilterEmpty: this.maxenumShoeSizeGenderTypeFilter,
this.minenumShoeSizeGenderTypeFilter == null ? this.minenumShoeSizeGenderTypeFilterEmpty: this.minenumShoeSizeGenderTypeFilter,
this.shoeSizeValueFilter,
this.maxShoeSizeLengthInchesFilter == null ? this.maxShoeSizeLengthInchesFilterEmpty: this.maxShoeSizeLengthInchesFilter,
this.minShoeSizeLengthInchesFilter == null ? this.minShoeSizeLengthInchesFilterEmpty: this.minShoeSizeLengthInchesFilter,
this.maxShoeSizeLengthCentimetersFilter == null ? this.maxShoeSizeLengthCentimetersFilterEmpty: this.maxShoeSizeLengthCentimetersFilter,
this.minShoeSizeLengthCentimetersFilter == null ? this.minShoeSizeLengthCentimetersFilterEmpty: this.minShoeSizeLengthCentimetersFilter,
this.shoeSizeDefaultFilter,
this.shoeSizeCountryFilter,
this.primengTableHelper.getSorting(this.dataTable),
this.primengTableHelper.getSkipCount(this.paginator, event),
this.primengTableHelper.getMaxResultCount(this.paginator, event)
).subscribe(result => {
this.primengTableHelper.totalRecordsCount = result.totalCount;
this.primengTableHelper.records = result.items;
this.primengTableHelper.hideLoadingIndicator();
});
}
reloadPage(): void {
this.paginator.changePage(this.paginator.getPage());
}
createMorthoAzureLocalShoeSizeInformations(): void {
this.createOrEditMorthoAzureLocalShoeSizeInformationsModal.show();
}
deleteMorthoAzureLocalShoeSizeInformations(morthoAzureLocalShoeSizeInformations: MorthoAzureLocalShoeSizeInformationsDto): void {
this.message.confirm(
'',
this.l('AreYouSure'),
(isConfirmed) => {
if (isConfirmed) {
this._morthoAzureLocalShoeSizeInformationsesServiceProxy.delete(morthoAzureLocalShoeSizeInformations.id)
.subscribe(() => {
this.reloadPage();
this.notify.success(this.l('SuccessfullyDeleted'));
});
}
}
);
}
exportToExcel(): void {
this._morthoAzureLocalShoeSizeInformationsesServiceProxy.getMorthoAzureLocalShoeSizeInformationsesToExcel(
this.filterText,
this.shoeSizeCountrySexSizeFilter,
this.maxenumShoeSizeGenderTypeFilter == null ? this.maxenumShoeSizeGenderTypeFilterEmpty: this.maxenumShoeSizeGenderTypeFilter,
this.minenumShoeSizeGenderTypeFilter == null ? this.minenumShoeSizeGenderTypeFilterEmpty: this.minenumShoeSizeGenderTypeFilter,
this.shoeSizeValueFilter,
this.maxShoeSizeLengthInchesFilter == null ? this.maxShoeSizeLengthInchesFilterEmpty: this.maxShoeSizeLengthInchesFilter,
this.minShoeSizeLengthInchesFilter == null ? this.minShoeSizeLengthInchesFilterEmpty: this.minShoeSizeLengthInchesFilter,
this.maxShoeSizeLengthCentimetersFilter == null ? this.maxShoeSizeLengthCentimetersFilterEmpty: this.maxShoeSizeLengthCentimetersFilter,
this.minShoeSizeLengthCentimetersFilter == null ? this.minShoeSizeLengthCentimetersFilterEmpty: this.minShoeSizeLengthCentimetersFilter,
this.shoeSizeDefaultFilter,
this.shoeSizeCountryFilter,
)
.subscribe(result => {
this._fileDownloadService.downloadTempFile(result);
});
}
resetFilters(): void {
this.filterText = '';
this.shoeSizeCountrySexSizeFilter = '';
this.enumShoeSizeGenderTypeFilter = '';
this.shoeSizeValueFilter = '';
this.shoeSizeLengthInchesFilter = '';
this.shoeSizeLengthCentimetersFilter = '';
this.shoeSizeDefaultFilter = '';
this.shoeSizeCountryFilter = '';
this.getMorthoAzureLocalShoeSizeInformationses();
}
}
using aspnetzero 11.1, powertools 3.2.2;
generating a new entity and receiving the following error when I start Angular
*** Beginning of angular: C:\github\murphymj5209\MorthoETL-AI\angular\nswag>refresh C:\github\murphymj5209\MorthoETL-AI\angular\nswag>"..\node_modules.bin\nswag" run NSwag NPM CLI NSwag command line tool for .NET Core NetCore21, toolchain v13.13.2.0 (NJsonSchema v10.5.2.0 (Newtonsoft.Json v11.0.0.0)) Visit http://NSwag.org for more information. NSwag bin directory: C:\github\murphymj5209\MorthoETL-AI\angular\node_modules\nswag\bin\binaries\NetCore21 Executing file 'C:\github\murphymj5209\MorthoETL-AI\angular\nswag\service.config.nswag' with variables ''... Done. Duration: 00:00:09.0347724 C:\github\murphymj5209\MorthoETL-AI\angular\nswag>cd.. C:\github\murphymj5209\MorthoETL-AI\angular>npm run create-dynamic-bundles
[email protected] create-dynamic-bundles
gulp buildDev
[22:05:21] Using gulpfile C:\github\murphymj5209\MorthoETL-AI\angular\gulpfile.js [22:05:21] Starting 'buildDev'... Dynamic bundles are being created. [22:05:42] Finished 'buildDev' after 21 s C:\github\murphymj5209\MorthoETL-AI\angular>npm start
[email protected] start ng serve --host 0.0.0.0 --port 4200 Warning: This is a simple server for use in testing or debugging Angular applications locally. It hasn't been reviewed for security issues. Binding this server to an open connection can result in compromising your application or computer. Using a different host than the one passed to the "--host" flag might result in websocket connection issues. You might need to use "--disable-host-check" if that's the case. √ Browser application bundle generation complete. Initial Chunk Files | Names | Raw Size vendor.js | vendor | 6.37 MB | main.js . . . *** near the end of the npm start
** Angular Live Development Server is listening on 0.0.0.0:4200, open your browser on http://localhost:4200/ ** × Failed to compile. √ Browser application bundle generation complete. 1242 unchanged chunks Build at: 2022-11-18T04:07:31.577Z - Hash: b6656e83dc1834ec - Time: 2022ms Error: src/app/admin/nsMorthoAzureLocalShoeSizeInformation/morthoAzureLocalShoeSizeInformations/morthoAzureLocalShoeSizeInformations.component.ts:173:14 - error TS2339: Property 'enumShoeSizeGenderTypeFilter' does not exist on type 'MorthoAzureLocalShoeSizeInformationsComponent'. 173 this.enumShoeSizeGenderTypeFilter = ''; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Here is the build which looks OK to me using power tools: -> MorthoAzureLocalShoeSizeInformationsAppService.cs is being generated. -> IMorthoAzureLocalShoeSizeInformationsAppService.cs is being generated. -> MorthoAzureLocalShoeSizeInformationConsts.cs is being generated. -> CreateOrEditMorthoAzureLocalShoeSizeInformationDto.cs is being generated. -> MorthoAzureLocalShoeSizeInformationDto.cs is being generated. -> GetAllMorthoAzureLocalShoeSizeInformationsForExcelInput.cs is being generated. -> GetAllForLookupTableInput.cs is being generated. -> GetAllMorthoAzureLocalShoeSizeInformationsInput.cs is being generated. -> GetMorthoAzureLocalShoeSizeInformationForViewDto.cs is being generated. -> GetMorthoAzureLocalShoeSizeInformationForEditOutput.cs is being generated. -> MorthoAzureLocalShoeSizeInformation.cs is being generated. -> MorthoAzureLocalShoeSizeInformationsExcelExporter.cs is being generated. -> IMorthoAzureLocalShoeSizeInformationsExcelExporter.cs is being generated. -> AppPermissions.cs is being modified. -> AppAuthorizationProvider.cs is being modified. -> MorthoDbContext.cs is being modified. -> CustomDtoMapper.cs is being modified. Running add-migration... Build started... Build succeeded. Entity 'Edition' has a global query filter defined and is the required end of a relationship with the entity 'EditionFeatureSetting'. This may lead to unexpected results when the required entity is filtered out. Either configure the navigation as optional, or define matching query filters for both entities in the navigation. See https://go.microsoft.com/fwlink/?linkid=2131316 for more information. No store type was specified for the decimal property 'AnnualPrice' on entity type 'SubscribableEdition'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'. No store type was specified for the decimal property 'DailyPrice' on entity type 'SubscribableEdition'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'. No store type was specified for the decimal property 'MonthlyPrice' on entity type 'SubscribableEdition'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'. No store type was specified for the decimal property 'WeeklyPrice' on entity type 'SubscribableEdition'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'. No store type was specified for the decimal property 'Amount' on entity type 'SubscriptionPayment'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'. No store type was specified for the decimal property 'ShoeSizeLengthInches' on entity type 'MorthoAzureLocalShoeSizeInformation'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'. Done. To undo this action, use 'ef migrations remove' Running migrator... Build started... Build succeeded. Applying migration '20221118040149_Added_MorthoAzureLocalShoeSizeInformation'. Done. -> morthoAzureLocalShoeSizeInformations.component.ts is being generated. -> morthoAzureLocalShoeSizeInformations.component.html is being generated. -> create-or-edit-morthoAzureLocalShoeSizeInformation-modal.component.html is being generated. -> create-or-edit-morthoAzureLocalShoeSizeInformation-modal.component.ts is being generated. -> morthoAzureLocalShoeSizeInformation.module.ts is being generated. -> morthoAzureLocalShoeSizeInformation-routing.module.ts is being generated. -> view-morthoAzureLocalShoeSizeInformation-modal.component.html is being generated. -> view-morthoAzureLocalShoeSizeInformation-modal.component.ts is being generated. -> admin-routing.module.ts is being modified. -> app-navigation.service.ts is being modified. -> service-proxy.module.ts is being modified. -> Mortho.xml is being modified. -> Formatting generated client side files. yarn run v1.22.19 $ C:\github\murphymj5209\MorthoETL-AI\angular\node_modules.bin\prettier --loglevel error --write C:\github\murphymj5209\MorthoETL-AI\angular\src\app\admin\nsMorthoAzureLocalShoeSizeInformation\morthoAzureLocalShoeSizeInformations\morthoAzureLocalShoeSizeInformations.component.ts C:\github\murphymj5209\MorthoETL-AI\angular\src\app\admin\nsMorthoAzureLocalShoeSizeInformation\morthoAzureLocalShoeSizeInformations\morthoAzureLocalShoeSizeInformations.component.html C:\github\murphymj5209\MorthoETL-AI\angular\src\app\admin\nsMorthoAzureLocalShoeSizeInformation\morthoAzureLocalShoeSizeInformations\create-or-edit-morthoAzureLocalShoeSizeInformation-modal.component.html C:\github\murphymj5209\MorthoETL-AI\angular\src\app\admin\nsMorthoAzureLocalShoeSizeInformation\morthoAzureLocalShoeSizeInformations\create-or-edit-morthoAzureLocalShoeSizeInformation-modal.component.ts C:\github\murphymj5209\MorthoETL-AI\angular\src\app\admin\nsMorthoAzureLocalShoeSizeInformation\morthoAzureLocalShoeSizeInformations\morthoAzureLocalShoeSizeInformation.module.ts C:\github\murphymj5209\MorthoETL-AI\angular\src\app\admin\nsMorthoAzureLocalShoeSizeInformation\morthoAzureLocalShoeSizeInformations\morthoAzureLocalShoeSizeInformation-routing.module.ts C:\github\murphymj5209\MorthoETL-AI\angular\src\app\admin\nsMorthoAzureLocalShoeSizeInformation\morthoAzureLocalShoeSizeInformations\view-morthoAzureLocalShoeSizeInformation-modal.component.html C:\github\murphymj5209\MorthoETL-AI\angular\src\app\admin\nsMorthoAzureLocalShoeSizeInformation\morthoAzureLocalShoeSizeInformations\view-morthoAzureLocalShoeSizeInformation-modal.component.ts Done in 1.96s.
Code generation is complete. Press ENTER to exit...
*** here is the .json file { "IsRegenerate": false, "MenuPosition": "admin", "RelativeNamespace": "NsMorthoAzureLocalShoeSizeInformation", "EntityName": "MorthoAzureLocalShoeSizeInformation", "EntityNamePlural": "MorthoAzureLocalShoeSizeInformations", "TableName": "MorthoAzureLocalShoeSizeInformations", "PrimaryKeyType": "int", "BaseClass": "FullAuditedEntity", "EntityHistory": false, "AutoMigration": true, "UpdateDatabase": true, "CreateUserInterface": true, "CreateViewOnly": true, "CreateExcelExport": true, "IsNonModalCRUDPage": false, "IsMasterDetailPage": false, "PagePermission": { "Host": true, "Tenant": true }, "Properties": [ { "Name": "ShoeSizeCountrySexSize", "Type": "string", "MaxLength": 50, "MinLength": 0, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": false, "Nullable": false, "Regex": "", "UserInterface": { "AdvancedFilter": true, "List": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} }, { "Name": "enumShoeSizeGenderType", "Type": "int", "MaxLength": 0, "MinLength": 0, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": false, "Nullable": true, "Regex": "", "UserInterface": { "AdvancedFilter": true, "List": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} }, { "Name": "ShoeSizeValue", "Type": "string", "MaxLength": 5, "MinLength": 0, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": false, "Nullable": false, "Regex": "", "UserInterface": { "AdvancedFilter": true, "List": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} }, { "Name": "ShoeSizeLengthInches", "Type": "decimal", "MaxLength": 0, "MinLength": 0, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": false, "Nullable": true, "Regex": "", "UserInterface": { "AdvancedFilter": true, "List": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} }, { "Name": "ShoeSizeLengthCentimeters", "Type": "double", "MaxLength": 0, "MinLength": 0, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": false, "Nullable": true, "Regex": "", "UserInterface": { "AdvancedFilter": true, "List": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} }, { "Name": "ShoeSizeDefault", "Type": "bool", "MaxLength": 0, "MinLength": 0, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": false, "Nullable": false, "Regex": "", "UserInterface": { "AdvancedFilter": true, "List": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} }, { "Name": "ShoeSizeCountry", "Type": "string", "MaxLength": 2, "MinLength": 0, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": false, "Nullable": false, "Regex": "", "UserInterface": { "AdvancedFilter": true, "List": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} } ], "NavigationProperties": [], "NavigationPropertyOneToManyTables": [], "EnumDefinitions": [], "DbContext": null }
Here is what I see when I go to github, which was set the other day. Is this what you asked for?
There is no email in github for [email protected]. please reply asap so I know that my end is completed.
Yes, I am alittle frustrated that this is taking so long to reply to a simple problem.
I have sent a github invite and it is the Test_angular_cp branch. thanks.
I have sent the email earlier today. please respond as soon as possible. thanks.
Hey @ismcagdas,
Yes both the host and the tenant have the Doctor role. I noticed there was a D capital in Tenant so I changed that to Small d(doctor) . Still no luck. Also, I feel something is wrong with RoleManager. I remember earlier I faced an issue getting a role by name it throwed error but when I tried with Id it worked.
Hey @ismcagdas,
I have attached the logs from the Log.txt file. Just to let you know we do have 'Doctor' as Role in Database. Also, We have multi tenancy enabled so we have different tenants that might same Role named as 'Doctor' just giving this additional information to help you debug this issue!
ERROR 2022-08-25 22:04:06,720 [orker] Mvc.ExceptionHandling.AbpExceptionFilter - There is no role with name: Doctor
Abp.AbpException: There is no role with name: Doctor
at Abp.Authorization.Roles.AbpRoleManager`2.GetRoleByNameAsync(String roleName)
at Abp.Authorization.Users.AbpUserManager`2.<>c__DisplayClass89_0.<<GetUserPermissionCacheItemAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Abp.Runtime.Caching.TypedCacheWrapper`2.<>c__DisplayClass18_0.<<GetAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Abp.Runtime.Caching.AbpCacheBase`2.GetAsync(TKey key, Func`2 factory)
at Abp.Runtime.Caching.TypedCacheWrapper`2.GetAsync(TKey key, Func`2 factory)
at Abp.Authorization.Users.AbpUserManager`2.GetUserPermissionCacheItemAsync(Int64 userId)
at Abp.Authorization.Users.AbpUserManager`2.IsGrantedAsync(Int64 userId, Permission permission)
at Abp.Authorization.Users.AbpUserManager`2.IsGrantedAsync(Int64 userId, String permissionName)
at Abp.Authorization.PermissionChecker`2.IsGrantedAsync(Int64 userId, String permissionName)
at Abp.Authorization.PermissionChecker`2.IsGrantedAsync(String permissionName)
at Abp.Web.Configuration.AbpUserConfigurationBuilder.GetUserAuthConfig()
at Abp.Web.Configuration.AbpUserConfigurationBuilder.GetAll()
at Abp.AspNetCore.Mvc.Controllers.AbpUserConfigurationController.GetAll()
at lambda_method1791(Closure , Object )
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
ERROR 2022-08-25 22:04:09,443 [orker] Mvc.ExceptionHandling.AbpExceptionFilter - There is no role with name: Doctor
Abp.AbpException: There is no role with name: Doctor
at Abp.Authorization.Roles.AbpRoleManager`2.GetRoleByNameAsync(String roleName)
at Abp.Authorization.Users.AbpUserManager`2.<>c__DisplayClass89_0.<<GetUserPermissionCacheItemAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Abp.Runtime.Caching.TypedCacheWrapper`2.<>c__DisplayClass18_0.<<GetAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Abp.Runtime.Caching.AbpCacheBase`2.GetAsync(TKey key, Func`2 factory)
at Abp.Runtime.Caching.TypedCacheWrapper`2.GetAsync(TKey key, Func`2 factory)
at Abp.Authorization.Users.AbpUserManager`2.GetUserPermissionCacheItemAsync(Int64 userId)
at Abp.Authorization.Users.AbpUserManager`2.IsGrantedAsync(Int64 userId, Permission permission)
at Abp.Authorization.Users.AbpUserManager`2.IsGrantedAsync(Int64 userId, String permissionName)
at Abp.Authorization.PermissionChecker`2.IsGrantedAsync(Int64 userId, String permissionName)
at Abp.Authorization.PermissionChecker`2.IsGrantedAsync(String permissionName)
at Abp.Web.Configuration.AbpUserConfigurationBuilder.GetUserAuthConfig()
at Abp.Web.Configuration.AbpUserConfigurationBuilder.GetAll()
at Abp.AspNetCore.Mvc.Controllers.AbpUserConfigurationController.GetAll()
at lambda_method1791(Closure , Object )
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)