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();
}
}
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)