Base solution for your next web application

Activities of "robrechtbelien"

Hi maliming,

That did the trick! Thanks!

private async Task<AbpLoginResult<Tenant, User>> GetLoginResultAsync(string usernameOrEmailAddress, string password, string tenancyName)
{
           var loginResult = await _logInManager.LoginAsync(usernameOrEmailAddress, password, tenancyName);
            if (loginResult.Result != AbpLoginResultType.Success)
        {
            var contact = _contactRepository.FindByUsernamePassword(usernameOrEmailAddress, password).FirstOrDefault();
            if (contact != null)
            {

                var user = await _userManager.FindByNameAsync(usernameOrEmailAddress);
            }
        }
    }

In the code above, the user returned at the end returns the values from befere the LoginAsync. If I look in the database after LoginAsync the values are updated.

Additionally: When using the bulkinsert method, the entityhelper function are not run, is it possible to extend them to intercept the bulkinsert function somehow?

Hi @ismcagdas,

Can you point me in the right direction? Is the IRepository part of the ABP framework or is it in the aspnetzero code?

Answer

I found the solution; I needed to override the "ajax" option when initialising the datatable and set it to null.

Answer

I found the solution; I needed to override the "ajax" option when initialising the datatable and set it to null.

Answer

The same code is working in another project. It seems that either metronic or abp is overriding the default initializing for datatables.

I Had this on occasions when the DB wasn't on the latest migration. In the app_data folder the system would write the logs and that's where I found the issue. I used Visualstudio's Schema compare to make sure that de DB has the correct schema.

Solved after upgrading to 4.5.1 No idea why this happened.

Hi,

Did you already have a chance to check this?

Showing 1 to 10 of 13 entries