Hi @ismcagdas,
Great solution ! I did'nt thought to act directly on the database. Thank you very much.
Hi @ismcagdas,
Thanks for your feedback. I can't use roles because all existing users of all tenants have different roles ; some of them have created custom roles and deactivated default "user" static role. This means that if I want to add a new permmission that must be affected to all users, I need to affect a static role to all users before... I don't want to do that.
Hi @ismcagdas,
Thank you for your advice. In my case, the roles are already assigned for all existing users. There is no other way to assign a permission for all existing users of all existing tenants ?
Hi @ismcagdas,
I'm having the same issue. The APK file size is much more bigger when linking is deactivated (at least 2 times bigger).
I've released this app a lot of times and always with linker activated (SDK only). I'm having this issue since I upgraded to Abp 6.4.
Could you please help to find a solution like before ?
Perfect, thks @ismcagdas
Hi @ismcagdas,
Thanks for your answer. I know very well AbpApiClient class but I don't think it is the best way to manage AbpAuthorizationException ; I plan to manage it on WebRequestExecuter class which already manages HTTP exceptions.
My question was not were to manage this on mobile app :)
My question is to know where AbpAuthorizationException is managed on Angular app. Today, when AbpAuthorizationException is received on Angular side, the page is automatically refreshed.
I just want to know where this is implemented on angular project
Hi jtallon,
I was in the same situation : 4 million records in audit log table. I was also facing performance issue in the whole app running on Azure.
I finally created an Azure Data Factory pipeline to export audit logs to CSV file once per week and deleted those records from database. I can be more specific on this part if somebody needs help.
Right now the app perforamance is much more better ! I've optimized other things (SignalR, more power to Azure instance, better database server, periodic database maintenance...) but I have to say that audit logs have a huge impact.
I think zero team should inform about that. Even if it is a sys DBA action, and zero is database agnostic, it's too important to avoid mentioning that. A blog post or an article could be a good starting point :)
Hi @musa.demir
Thanks for your answer. I have not considered audit logging table because it is very slow. I have more than 4 Million records and queries are very long and sometimes firing exceptions due to timeout.
But you are right, I can already grab this information from database and this is out of the box.
I will try to find a solution to delete some records from audit table periodically and see if performance is better.
I will follow this issue : https://github.com/aspnetzero/aspnet-zero-core/issues/2898
I manage to get the console log. The issue is :
main-es2015.5af5014b1fa0edb28992.js:1 ERROR Error: Uncaught (in promise): ChunkLoadError: Loading chunk 56918 failed.
I found some information about that in the web : https://medium.com/@kamrankhatti/angular-lazy-routes-loading-chunk-failed-42b16c22a377
This is caused by chunk names update on new app build and deployment. This is due to browser cache. I will try the solution provided in the article (global error handler) and give a feedback if it works.
This can help other users
I can't predict exactly when it happens. I can try for the next deployments to leave the browser console open and check what happens. Don't you had this kind of issues with other users ?