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.
How to add application name in path root.
example : default route is /api/account/registration and need somthing like /myApp/api/account/registration
we have to add application under same custom domain final url will be like https://www.myapplication.com/myApp/api/account/registration
Please suggest. same need to be done for Identity service
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.
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.
We are developing banking application where we have to restrict users multiple login session. At time, there should be single active login session.
user should be allowed to be logged in to one application from only one browser at a time. When user logs in then server should check his current active sessions to the same application from other browsers. If there is then log out from everywhere else and keep only newest session.
Please suggest something, which readily availble in ABP.
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.
Facing Performance issue in with Insert\Update with high volumn of data using PostgrsSQL. CurrentUnitOfWork.SaveChangesAsync() takes much time to respond.
Is there any solution availble in ABP.io framweork to bulk insert/update or should we go with store procedure in PostgrsSQL . Please suggest
foreach (var quoteInvoice in input.QuoteInvoiceDetails)
{
var newQuoteInvoice = ObjectMapper.Map<QuoteInvoiceDetailCreateDto, QuoteInvoiceDetail>(quoteInvoice);
newQuoteInvoice.QuoteId = quote.Id;
await _quoteInvoiceDetailRepository.InsertAsync(newQuoteInvoice);
}
await CurrentUnitOfWork.SaveChangesAsync();
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.
We have to add indentity server endpoints in AWS api gatway and need swagger defination for the same.
Could you please suggest, how we can get that in identity server in ABP.io as it is not there.
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.
Note able to build and compile anular app. Please help on below warning and error.
[root@ip-172-31-6-224 angular]# yarn build:prod yarn run v1.22.5 $ ng build --configuration production Warning: Entry point '@volo/abp.ng.theme.lepton' contains deep imports into '/root/core-platform/SCV.Litmus/angular/node_modules/@volo/abp.ng.theme.lepton/dist/global/styles/lepton1', '/root/core-platform/SCV.Litmus/angular/node_modules/@volo/abp.ng.theme.lepton/dist/global/styles/lepton2', '/root/core-platform/SCV.Litmus/angular/node_modules/@volo/abp.ng.theme.lepton/dist/global/styles/lepton3', '/root/core-platform/SCV.Litmus/angular/node_modules/@volo/abp.ng.theme.lepton/dist/global/styles/lepton4', '/root/core-platform/SCV.Litmus/angular/node_modules/@volo/abp.ng.theme.lepton/dist/global/styles/lepton5', '/root/core-platform/SCV.Litmus/angular/node_modules/@volo/abp.ng.theme.lepton/dist/global/styles/lepton6'. This is probably not a problem, but may cause the compilation of entry points to be out of order. Compiling @angular/core : es2015 as esm2015
[root@ip-172-31-6-224 ng-FVe2rC]# cat angular-errors.log [error] Error: NGCC failed. at NgccProcessor.process (/root/core-platform/SCV.Litmus/angular/node_modules/@ngtools/webpack/src/ngcc_processor.js:69:19) at /root/core-platform/SCV.Litmus/angular/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:579:31 at SyncHook.eval [as call] (eval at create (/root/core-platform/SCV.Litmus/angular/node_modules/tapable/lib/HookCodeFactory.js:19:10), <anonymous>:7:1) at SyncHook.lazyCompileHook (/root/core-platform/SCV.Litmus/angular/node_modules/tapable/lib/Hook.js:154:20) at Object.webpack [as webpackFactory] (/root/core-platform/SCV.Litmus/angular/node_modules/webpack/lib/webpack.js:55:30) at createWebpack (/root/core-platform/SCV.Litmus/angular/node_modules/@angular-devkit/build-webpack/src/webpack/index.js:20:36) at Object.runWebpack (/root/core-platform/SCV.Litmus/angular/node_modules/@angular-devkit/build-webpack/src/webpack/index.js:34:12) at SwitchMapSubscriber.project (/root/core-platform/SCV.Litmus/angular/node_modules/@angular-devkit/build-angular/src/browser/index.js:142:32) at SwitchMapSubscriber._next (/root/core-platform/SCV.Litmus/angular/node_modules/rxjs/internal/operators/switchMap.js:49:27) at SwitchMapSubscriber.Subscriber.next (/root/core-platform/SCV.Litmus/angular/node_modules/rxjs/internal/Subscriber.js:66:18) at /root/core-platform/SCV.Litmus/angular/node_modules/rxjs/internal/util/subscribeToPromise.js:7:24
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.
Nav Menu Items not showing properly in Mozila firefox. I configured routes using routemodule to show/hide the routes based on some conditions,
so as per the documetaion using patch route we acheived that. if I specify order propery in routing and not patch I am getting below error and If I specify order as 0 it's working fine in chrom, edge
const newHomeRouteShowConfig: Partial<ABP.Route> = { invisible: false, requiredPolicy: 'Admin', order: 0 };
const newHomeRouteHideConfig: Partial<ABP.Route> = {
invisible: true,
requiredPolicy: 'Admin',
order: 0
};
this.routes.patch('Entities', newHomeRouteShowConfig);
this.routes.patch('Banks', newHomeRouteShowConfig);
this.routes.patch('Suppliers', newHomeRouteShowConfig);
this.routes.patch('Program', newHomeRouteHideConfig);
but not working as expected in firefox.
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.
Arguments: C:\Program Files\nodejs\node.exe C:\Users\P7109954\AppData\Roaming\npm\node_modules\yarn\bin\yarn.js
PATH: C:\Program Files\Microsoft MPI\Bin;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS
Yarn version: 1.22.4
Node version: 12.16.0
Platform: win32 x64
Trace: Error: https://registry.yarnpkg.com/date-fns/-/date-fns-2.15.0.tgz: ESOCKETTIMEDOUT at ClientRequest.<anonymous> (C:\Users\xyz\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:141375:19) at Object.onceWrapper (events.js:427:28) at ClientRequest.emit (events.js:321:20) at TLSSocket.emitRequestTimeout (_http_client.js:714:9) at Object.onceWrapper (events.js:427:28) at TLSSocket.emit (events.js:321:20) at TLSSocket.Socket._onTimeout (net.js:478:8) at listOnTimeout (internal/timers.js:549:17) at processTimers (internal/timers.js:492:7)
npm manifest: { "name": "MyApp", "version": "0.0.0", "scripts": { "ng": "ng", "start": "ng serve --open", "build": "ng build", "build:prod": "ng build --configuration production", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" }, "private": true, "dependencies": { "@angular/animations": "~10.0.1", "@angular/common": "~10.0.1", "@angular/compiler": "~10.0.1", "@angular/core": "~10.0.1", "@angular/forms": "~10.0.1", "@angular/platform-browser": "~10.0.1", "@angular/platform-browser-dynamic": "~10.0.1", "@angular/router": "~10.0.1", "@volo/abp.ng.account": "~3.0.4", "@volo/abp.ng.audit-logging": "~3.0.4", "@volo/abp.ng.identity": "~3.0.4", "@volo/abp.ng.identity-server": "~3.0.4", "@volo/abp.ng.language-management": "~3.0.4", "@volo/abp.ng.saas": "~3.0.4", "@volo/abp.ng.text-template-management": "~3.0.4", "@volo/abp.ng.theme.lepton": "~3.0.4", "rxjs": "~6.5.4", "tslib": "^2.0.0", "zone.js": "~0.10.2" }, "devDependencies": { "@angular-devkit/build-angular": "~0.1000.0", "@angular-devkit/build-ng-packagr": "~0.1000.0", "@angular/cli": "~10.0.0", "@angular/compiler-cli": "~10.0.1", "@angular/language-service": "~10.0.1", "@types/jasmine": "~3.5.0", "@types/jasminewd2": "~2.0.3", "@types/node": "^12.11.1", "codelyzer": "^5.1.2", "jasmine-core": "~3.5.0", "jasmine-spec-reporter": "~5.0.0", "karma": "~5.0.0", "karma-chrome-launcher": "~3.1.0", "karma-coverage-istanbul-reporter": "~3.0.2", "karma-jasmine": "~3.3.0", "karma-jasmine-html-reporter": "^1.5.0", "ng-packagr": "^10.0.0", "protractor": "~7.0.0", "ts-node": "~8.3.0", "tslint": "~6.1.0", "typescript": "~3.9.5" } }
yarn manifest: No manifest
Lockfile: No lockfile
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.
How does ABP framework store the CreationTime or LastModificationTime for any entity ? Is it in UTC format or should it be handle separately and How?
I am using Postgrsql and wanted have all my Datetime fields should be in UTC format. Please suggest solution.
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/indexmultitenant
https://support.abp.io/QA/Questions/228/ABP-Identity-server
No response on #228 so closed and created new support ticket
IdentityServerApiResources didnt work and it thorws the unauthentication exception on module service for multi tenant environment solo and seperate DB(havining sepearet tenant DB)
Its is working for Admin role but not for others
2020-07-11 19:53:14.820 +05:30 [DBG] Setting the cache item: pn:R,pk:anchor,n:ProfileManagement.Sample 2020-07-11 19:53:14.820 +05:30 [DBG] Finished setting the cache item: pn:R,pk:anchor,n:ProfileManagement.Sample 2020-07-11 19:53:14.820 +05:30 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:anchor,n:ProfileManagement.Sample 2020-07-11 19:53:14.821 +05:30 [DBG] Found in the cache: pn:R,pk:anchor,n:ProfileManagement.Sample 2020-07-11 19:53:14.821 +05:30 [DBG] PermissionStore.GetCacheItemAsync: pn:C,pk:Litmus_App,n:ProfileManagement.Sample 2020-07-11 19:53:14.822 +05:30 [DBG] Found in the cache: pn:C,pk:Litmus_App,n:ProfileManagement.Sample 2020-07-11 19:53:14.822 +05:30 [INF] Authorization failed. 2020-07-11 19:53:16.836 +05:30 [WRN] ---------- RemoteServiceErrorInfo ---------- 2020-07-11 19:53:16.840 +05:30 [WRN] { "code": null, "message": "Authorization failed! Given policy has not granted.", "details": null, "validationErrors": null } 2020-07-11 19:53:16.841 +05:30 [WRN] Authorization failed! Given policy has not granted. Volo.Abp.Authorization.AbpAuthorizationException: Authorization failed! Given policy has not granted. at Microsoft.AspNetCore.Authorization.AbpAuthorizationServiceExtensions.CheckAsync(IAuthorizationService authorizationService, AuthorizationPolicy policy) at Volo.Abp.Authorization.MethodInvocationAuthorizationService.CheckAsync(MethodInvocationAuthorizationContext context) at Volo.Abp.Authorization.AuthorizationInterceptor.AuthorizeAsync(IAbpMethodInvocation invocation) at Volo.Abp.Authorization.AuthorizationInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo) at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync() at Volo.Abp.Auditing.AuditingInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo) at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync() at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo) at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync() at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed) at lambda_method(Closure , Object )