WebLogAppService / DownloadWebLogs
ICSharpCode.SharpZipLib.Zip.ZipException: size was 1670059, but I expected 1669650 at ICSharpCode.SharpZipLib.Zip.ZipOutputStream.CloseEntry() at ICSharpCode.SharpZipLib.Zip.ZipOutputStream.Finish() at ICSharpCode.SharpZipLib.Zip.Compression.Streams.DeflaterOutputStream.Close() at System.IO.Stream.Dispose() at omni.Logging.WebLogAppService.DownloadWebLogs() at Castle.Proxies.WebLogAppServiceProxy.DownloadWebLogs_callback() at Castle.Proxies.Invocations.IWebLogAppService_DownloadWebLogs.InvokeMethodOnTarget() at Castle.DynamicProxy.AbstractInvocation.Proceed() at Abp.Authorization.AuthorizationInterceptor.Intercept(IInvocation invocation) at Castle.DynamicProxy.AbstractInvocation.Proceed() at Abp.Domain.Uow.UnitOfWorkInterceptor.PerformSyncUow(IInvocation invocation, UnitOfWorkOptions options) at Abp.Domain.Uow.UnitOfWorkInterceptor.PerformUow(IInvocation invocation, UnitOfWorkOptions options) at Abp.Domain.Uow.UnitOfWorkInterceptor.Intercept(IInvocation invocation) at Castle.DynamicProxy.AbstractInvocation.Proceed() at Abp.Auditing.AuditingInterceptor.PerformSyncAuditing(IInvocation invocation, AuditInfo auditInfo) at Abp.Auditing.AuditingInterceptor.Intercept(IInvocation invocation) at Castle.DynamicProxy.AbstractInvocation.Proceed() at Abp.Runtime.Validation.Interception.ValidationInterceptor.Intercept(IInvocation invocation) at Castle.DynamicProxy.AbstractInvocation.Proceed() at Castle.Proxies.WebLogAppServiceProxy.DownloadWebLogs()
The same issue after installing 1.12 version. Create new project, followed the guide. Trying to update packages with "get-project -all | get-package | ?{ $_.Id -like 'Abp*' } | update-package" and get the following:
Attempting to gather dependencies information for multiple packages with respect to project 'Tools\omni.Migrator', targeting '.NETFramework,Version=v4.6.1'
update-package : An error occurred while retrieving package metadata for 'AutoMapper.5.1.1' from source 'C:\Users\stepan.nesterov\Documents\Visual Studio 2015\Projects\omniPOS_v1.12.2\packages'.
At line:1 char:60
+ get-project -all | get-package | ?{ $_.Id -like 'Abp*' } | update-package
+ ~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Update-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.UpdatePackageCommand
Attempting to gather dependencies information for multiple packages with respect to project 'Tools\omni.Migrator', targeting '.NETFramework,Version=v4.6.1'
update-package : An error occurred while retrieving package metadata for 'AutoMapper.5.1.1' from source 'C:\Users\stepan.nesterov\Documents\Visual Studio 2015\Projects\omniPOS_v1.12.2\packages'.
At line:1 char:60
+ get-project -all | get-package | ?{ $_.Id -like 'Abp*' } | update-package
+ ~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Update-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.UpdatePackageCommand
Thanks! I will investigate how to integrate your recommendations.
Got it. Thank you
When large object [more than nvarchar(1024)] is pushed as parameter value to AbpAuditLogs it will be trancated.
Example: {"input":{"bla":{"bla bla":null,"bla bla bla":null,<span style="color:#FF0000">...</span>
If we will try to display Audit logs then vm.getFormattedParameters will fail as Unexpected token . in JSON at position 1021, because the object was trancated and is not valid anymore.
Question: how could that be fixed for production? Can we move Audit Logs to NoSQL db for example?
Could you give an example, please
Hi Halil,
How to change behavior - if user authorzied - don't show front end page and redirect to application right away?
Great! Thank you for explanation.
How it works now? Should I change Controllers, FrontEndNavigationProvider, PageNames, FrontEndBundleConfig, _ViewStart.cshtml?
Regards
Hi Halil,
Please advise the proper approach to change front-end theme from Metronic Corporate to Meronic Onepage.
Regards