Activities of "christophe.baille"

Hi there,

I came through here as I got issues with unit tests on our solution since upgrade to ABP 7 as well, annoying as we need the tests to be validated in our CI/CD.

To make more tests I created a new solution with ABP 7 (Blazor server), then added one entity to generate unit tests.

I then added the FindAsync method before each Insert in the DataSeedContributor contributor class as you said.

I still have errors that come up randomly:

On Application.Tests project, it can be either Create, Delete, Get, GetList. When I use "Run All tests", I have often one of them getting in error with: ---- System.InvalidOperationException : SqliteConnection does not support nested transactions.

Then, either on other projects: EntityFrameworkCore.DomainTests, EntityFrameworkCore.Tests or EntityFrameworkCore.Samples

---- System.NullReferenceException : Object reference not set to an instance of an object.

It's very confusing as sometimes there is no error at all...

My own solution (not the one I created for tests), have exactly the same types of errors. I was wondering if it was because my own environment, but when I run tests on Azure, I got the same errors as well.

Thanks for your reply,

I do not understand this:

But you can remove the first one and add latest one and manage the first one manually.

I saw this tickets yes, but as they are 1 year old I did expect that it would have been fixed on a new project with the last ABP version.

I added this lines:

Configure<AbpUnitOfWorkDefaultOptions>(options => { options.TransactionBehavior = UnitOfWorkTransactionBehavior.Disabled; });

Then it works now. Thanks

Yes, but I would need both in my database for my workflow: one gateway/price for a payment when the user register, and another one for the scheduled payment for the subscription

No,

It is a template and I did nothing appart of generating it, not any edit

  • ABP Framework version: v7.0.0
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

On which criteria methods are added on the audit or not?

From the doc here, it seems that by default all methods write to the log table

https://docs.abp.io/en/abp/latest/Audit-Logging

In my solution, I have the issue that most of my methods do not write on the table.

It is well setup, I have "UseAuditing()" on my module and all should be ok, for example, the /Account/Login is logged all the time. But most of other methods from my application services do not appears but they should if I did not add "[DisableAuditing]" right?

Something even more strange, I have a method that run any times I login to build my menu, when login as admin it write on the log table, but if log with another account it doesn't...

Any explanation about how to add all methods to this audit tables?

To try to understand on how logs works, I did this:

1- Create a new Blazor server solution and add an entity 2- Open the entity view, add item, edit it, delete it 3- Open audit log table

I can see that the methods Create, Delete and Get write on the log table, but I have nothing about GetList and Update.

Why GetList and Update are not in log tables if others are? I did nothing appart of buiding from template, is there anything wrong on ABP or something else not documented should be done?

Thanks

I just shared it from Github

  • ABP Framework version: v7.0.1
  • UI type: MAUI Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

Steps to reproduce:

  • Create a new solution with UI Framework MAUI Blazor
  • Run DbMigrator and run the app to be sure all is working fine
  • on ABP Suite, open the project and add a new entity

When I press "Save and generate", I got the error "An internal error occurred during your request!".

On the console, I got this error

The error might come from the UI generator because when I uncheck this it works

Ok thanks to let me know, can you refund my ticket then?

I am not sure to understand, audit is done from appservice methods, so it should not matter if the method is called from Blazor or anything else right?

Give more explanation about it please.

My main issue is this:

But most of other methods from my application services do not appears but they should if I did not add "[DisableAuditing]" right?

Something even more strange, I have a method that run any times I login to build my menu, when login as admin it write on the log table, but if log with another account it doesn't...

Showing 171 to 180 of 188 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.2.0-preview. Updated on February 12, 2026, 08:27
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.