Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
After upgrading from 7.1 to 8.8 we are unable to get our xUnit test projects compiling. The solution itself builds and runs fine.
The error seems realted to missing the Abp.DynamicEntityParameters.IDynamicEntityParameterConfiguration. We have compared our test project against a fresh demo version of 8.8 and can find no differernce. Can you provide any pointers on where we can look?
` Syntaq.Falcon.Tests.Apps.AppJobsAppService_Tests.Should_Create_App_Job Source: AppJobsAppService_Tests.cs line 60 Duration: 1 ms
Message: System.MissingMethodException : Method not found: 'Abp.DynamicEntityParameters.IDynamicEntityParameterConfiguration Abp.Configuration.Startup.IAbpStartupConfiguration.get_DynamicEntityParameters()'. Stack Trace: FalconCoreModule.PreInitialize() <>c.
Thanks,
This is now workign from the application service level. I don't know why it did not before.
One last issue as it is not working from a Class in the Syntaq.Falcon.Core project. The class inhertis from the FalconDomainServiceBase class.
Any suggestions? The code is exactly as the code in the Application service class that works.
Hi,
This is being called from an application service metohd. I have explicitly wrapped a nuit of work around the audit logging and still not audit record is committed.
using (var unitOfWork = _unitOfWorkManager.Begin()) { AuditInfo info = new AuditInfo() { BrowserInfo = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36 Edg/86.0.622.38", ClientIpAddress = "::1", ClientName = "", CustomData = "", Exception = null, MethodName = "GetAll", Parameters = "{}", ServiceName = "Syntaq.Web.Controllers.Forms", TenantId = AbpSession.TenantId, UserId = AbpSession.UserId }; _auditLogRepository.Save(info); unitOfWork.Complete(); }
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
have follwed this tutorial at https://docs.aspnetzero.com/en/aspnet-core-mvc/latest/Features-Angular-Customizable-Dashboard
And am getting "There is no view configration for widget...." on clicking save from the popup dialog. (The widget is showing in the dialog). As there is a lot of code to share and I was hoping you could point me on the right track for me to investigate further rather than provide a full code sample which is going to be difficult on this forum
Cheers
Hi,
I am trying to creaste custom Audit Log entries from the Application API level. I have a custom Audit class as below. When I try to call and save to the Audit log no audit data si created and no errors are thrown / reported.
Any suggestions?
Sample Call to Audit Class
AuditInfo info = new AuditInfo()
{
BrowserInfo = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36 Edg/86.0.622.38",
ClientIpAddress = "::1",
ClientName = "",
CustomData = "",
Exception = null,
MethodName = "GetAll",
Parameters = "{}",
ServiceName = "Syntaq.Web.Controllers.Forms",
TenantId = AbpSession.TenantId,
UserId = AbpSession.UserId
};
AuditSyntaqLogStore log = new AuditSyntaqLogStore(_auditLogRepository);
await log.SaveAsync(info);
Custom Class
public class AuditSyntaqLogStore : IAuditingStore, ITransientDependency
{
private readonly IIocResolver _iocResolver;
private readonly IRepository<AuditLog, long> _auditLogRepository;
/// <summary>
/// Creates a new <see cref="AuditingStore"/>.
/// </summary>
public AuditSyntaqLogStore(
IRepository<AuditLog, long> auditLogRepository
)
{
_auditLogRepository = auditLogRepository;
}
public void Save(AuditInfo auditInfo)
{
_auditLogRepository.Insert(AuditLog.CreateFromAuditInfo(auditInfo));
}
public virtual Task SaveAsync(AuditInfo auditInfo)
{
return _auditLogRepository.InsertAsync(AuditLog.CreateFromAuditInfo(auditInfo));
}
}
ProfileAppService.ChangePassword is logging the user out. The password is successfully changed. Any suggestions?
FYI also - logged on as a tenant
Thanks,
My app.session object is undefined. I am logged on and running .net Core MVC ASPNET ZERO 8.8
Him,
How do you get the Tenant Name in javascript?
Cheers
Hi,
Am getting :22742/AbpUserConfiguration/GetAll?d=1592719246547:1 Failed to load resource: net::ERR_CONNECTION_REFUSED on going to localhost:4200 when starting up.
The back end is running at http://localhost:55314/ and I can navigate swagger etc
If I change the url to http://localhost:55314/AbpUserConfiguration/GetAll?d=1592767829512 I get a response. So I guess the question is why is the port being changed to 22742? I cannot find this in any configuration file anywhere.
I am running Angular .Net core. Below is the dev console stack.
scheduleTask @ zone.js:3324
push../node_modules/zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ zone.js:407 onScheduleTask @ zone.js:294 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ zone.js:400 push../node_modules/zone.js/dist/zone.js.Zone.scheduleTask @ zone.js:231 push../node_modules/zone.js/dist/zone.js.Zone.scheduleMacroTask @ zone.js:254 scheduleMacroTaskWithCurrentZone @ zone.js:1183 (anonymous) @ zone.js:3357 proto.<computed> @ zone.js:1501 push../src/shared/helpers/XmlHttpRequestHelper.ts.XmlHttpRequestHelper.ajax @ XmlHttpRequestHelper.ts:29 push../src/AppPreBootstrap.ts.AppPreBootstrap.getUserConfiguration @ AppPreBootstrap.ts:146 (anonymous) @ AppPreBootstrap.ts:36 (anonymous) @ AppPreBootstrap.ts:69 xhr.onreadystatechange @ XmlHttpRequestHelper.ts:9 wrapFn @ zone.js:1270 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask @ zone.js:421 onInvokeTask @ core.js:26247 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask @ zone.js:420 push../node_modules/zone.js/dist/zone.js.Zone.runTask @ zone.js:188 push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask @ zone.js:503 invokeTask @ zone.js:1671 globalZoneAwareCallback @ zone.js:1697 XMLHttpRequest.send (async) scheduleTask @ zone.js:3324 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ zone.js:407 onScheduleTask @ zone.js:294 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ zone.js:400 push../node_modules/zone.js/dist/zone.js.Zone.scheduleTask @ zone.js:231 push../node_modules/zone.js/dist/zone.js.Zone.scheduleMacroTask @ zone.js:254 scheduleMacroTaskWithCurrentZone @ zone.js:1183 (anonymous) @ zone.js:3357 proto.<computed> @ zone.js:1501 push../src/shared/helpers/XmlHttpRequestHelper.ts.XmlHttpRequestHelper.ajax @ XmlHttpRequestHelper.ts:29 push../src/AppPreBootstrap.ts.AppPreBootstrap.getApplicationConfig @ AppPreBootstrap.ts:53 push../src/AppPreBootstrap.ts.AppPreBootstrap.run @ AppPreBootstrap.ts:17 (anonymous) @ root.module.ts:48 ZoneAwarePromise @ zone.js:913 (anonymous) @ root.module.ts:44 push../node_modules/@angular/core/fesm5/core.js.ApplicationInitStatus.runInitializers @ core.js:25548 (anonymous) @ core.js:26762 _callAndReportToErrorHandler @ core.js:26855 (anonymous) @ core.js:26760 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke @ zone.js:386 onInvoke @ core.js:26256 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke @ zone.js:385 push../node_modules/zone.js/dist/zone.js.Zone.run @ zone.js:143 push../node_modules/@angular/core/fesm5/core.js.NgZone.run @ core.js:26170 push../node_modules/@angular/core/fesm5/core.js.PlatformRef.bootstrapModuleFactory @ core.js:26746 (anonymous) @ core.js:26791 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke @ zone.js:386 push../node_modules/zone.js/dist/zone.js.Zone.run @ zone.js:143 (anonymous) @ zone.js:891 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask @ zone.js:421 push../node_modules/zone.js/dist/zone.js.Zone.runTask @ zone.js:188 drainMicroTaskQueue @ zone.js:601 Promise.then (async) scheduleMicroTask @ zone.js:584 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ zone.js:410 push../node_modules/zone.js/dist/zone.js.Zone.scheduleTask @ zone.js:231 push../node_modules/zone.js/dist/zone.js.Zone.scheduleMicroTask @ zone.js:251 scheduleResolveOrReject @ zone.js:881 ZoneAwarePromise.then @ zone.js:1027 setDriver @ localforage.js:2734 LocalForage @ localforage.js:2523 4.3 @ localforage.js:2796 s @ localforage.js:7 e @ localforage.js:7 (anonymous) @ localforage.js:7 (anonymous) @ localforage.js:7 ./node_modules/localforage/dist/localforage.js @ localforage.js:7 webpack_require @ bootstrap:83 ./src/root.module.ts @ root.component.ts:7 webpack_require @ bootstrap:83 ./src/main.ts @ hmr.ts:15 webpack_require @ bootstrap:83 0 @ password-complexity-…tor.directive.ts:10 webpack_require @ bootstrap:83 checkDeferredModules @ bootstrap:44 webpackJsonpCallback @ bootstrap:31 (anonymous) @ main.js:1