Activities of "maliming"

. I am still getting random failures.

What's the exception details?

We disable transactions because of SQLite limitations.

hi

move your GetByIdAsync code into the new uow scope.

public async Task UpdateAsync(Guid id, IdentityUserUpdateDto input)
{
    using (var uow = _unitOfWorkManager.Begin(
               requiresNew: true, isTransactional: false
           ))
    {
        await _identityOptions.SetAsync();

        var user = await _identityUserManager.GetByIdAsync(id);
        
        user.SetConcurrencyStampIfNotNull(input.ConcurrencyStamp);

        (await _identityUserManager.SetUserNameAsync(user, input.UserName)).CheckErrors();

        await UpdateUserByInput(user, input);

        input.MapExtraPropertiesTo(user);

        (await _identityUserManager.UpdateAsync(user)).CheckErrors();

        await uow.CompleteAsync();
        
        var userDto = _objectMapper.Map(user);

        return userDto;
    }
}

System.ArgumentNullException Value cannot be null. (Parameter 'roleNames')

Please check this line: (await _identityUserManager.SetRolesAsync(user, input.RoleNames)).CheckErrors();

The input.RoleNames is null.

can I share the project with you?

Sure. liming.ma@volosoft.com

hi

Please share your SyncActiveFarmsWorker and ExtendedIdentityUserImportManager code.

hi

We tested with a fresh new project and it worked.

Can you run abp clean command and rebuild the project?

If you need to access a method anonymously, Yes

https://support.abp.io/QA/Questions/4484/Allow-Guest-user-to-use-certain-application-services-served-by-a-guest-page#answer-562eec34-7eec-073f-0829-3a092fd6770f

Refunded

hi

You are making things more complicated and insecure, Please use AllowAnonymous.

hi Dina

Can you share a simple project? liming.ma@volosoft.com

Showing 7661 to 7670 of 11544 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.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.