Activities of "sukhdeep.dhillon"

  • ABP Framework version: v7.2.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server)

Hi, I know we shouldn't add ICurrentUser in domain layer because domain layer should be independent of current user. but I have some logic in the domain which I don't want to expose to the outer layer but I need current user Id for that logic. how can I handle this.

is that okay to access ICurrentUser in domain manager?

Could you please give me any code example. plus, what if I don't want to seed this data in unit tests, how can I remove this seeding file while running unit tests.

  • ABP Framework version: v6.0.2
  • UI Type: Angular / MVC / Blazor WASM / Blazor Server
  • Database System: EF Core (SQL Server)

Hi, I have bunch of sql insert statements store in .sql file. This file is being loaded and executed by the data seeder. when DbMigrator runs and it successfully populated the database. but when I run unit tests, all are getting failed because when sqlite seeds the database for tests. it loads that .sql file I'm getting the following error

because IF EXISTS statement doesn't exist in sqllite but its fine with sql server.

how can I handle this situation. plus, if I don't want unit tests to seed specific data how can I handle that

following is the screenshot of .sql file for your reference

  • ABP Framework version: v6.0.2
  • UI Type: MVC
  • Database System: EF Core (SQL Server)

Hi, how can I return different http status code from application layer methods.

for example, for post request, ABP by default returns 200 but I want to return 201.

how can I do that in application layer without going thru controllers.

I'm not able to replicate the issue because it happens once in a while. I will reopen this ticket if the issue comes back

I mean when I start the application, the application takes longer time to run as I have shared in the previous screenshot. (screenshot shows the initial logs when we start the app with kestrel server) in the screenshot you can see the time 13:22 to 13:26 and the app didn't up yet, app kind of stuck at the startup

yes, no error, but if you look at the time line, app kind of stuck, doesn't load

since I have started using Hangfireworker, app sometime stuck at the following error

Thanks, it worked.

but I have another question, as I'm using Hangfire workers to run background tasks.

what are these 2 extra hangfire period jobs automatically created. the one is highlighted is mine.

  • ABP Framework version: v7.2.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server)

Hi, when I add the following module to the application layer typeof(AbpBackgroundWorkersHangfireModule). all the application tests starts failing

following is the screenshot of the application module class

following is the screenshot of error I'm getting after adding this module typeof(AbpBackgroundWorkersHangfireModule)

Showing 31 to 40 of 66 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 19, 2024, 10:13