Activities of "jfistelmann"

something like this?

/* This is just an example test class.
 * Normally, you don't test ABP framework code
 * Only test your custom repository methods.
 */
public class SampleRepositoryTests : FastNFunEntityFrameworkCoreTestBase
{
    private readonly IRepository<IdentityUser, Guid> _appUserRepository;

    public SampleRepositoryTests()
    {
        _appUserRepository = GetRequiredService<IRepository<IdentityUser, Guid>>();
    }

    [Fact]
    public async void ShouldQueryAppUser()
    {
        /* Need to manually start Unit Of Work because
         * FirstOrDefaultAsync should be executed while db connection / context is available.
         */
        await WithUnitOfWorkAsync(async () =>
        {
            //Act
            var adminUser = await _appUserRepository
            .FirstOrDefaultAsync(u => u.UserName == "admin");

            //Assert
            adminUser.ShouldNotBeNull();
        });
    }
}

Yes, I've checked. I used GetOrNull, but the file still didn't come

Please try something without ...OrNull because those calls handle errors.

something like this:

var blobName = blobId.ToString();
var result = await _blobContainer.GetAsync(name: blobName);
return result;

then you should be able to see where things go wrong.

Hey,

may this be what you're looking for?

https://community.abp.io/Videos/extend-tenant-management-and-add-custom-host-to-your-abp-app-lwmi9lr5

That's great, thank you so much and waiting for you blog post.

Here it is: https://chrobyte.de/blogs/default/abp-module-development-and-cross-module-dependencies

Also submitted to abp community, but may take a while until approved and available.

What do your redis logs say?

On what version is your redis and what specifically are you using?

Hey,

you would need to override the following for that: Module: Identity.Pro IOrganizationUnitAppService.GetRolesAsync(..)

and apply your logic

Have you checked the points I described?

Can you please share the complete executing line 3559?

are you parsing the blobId to a string? if yes, please to that in a separate line and carefully compare the output to the expected name.

As you can see here: https://github.com/abpframework/abp/blob/2ab863186791f91edc6ff1f8d520a4979c67d2be/framework/src/Volo.Abp.BlobStoring/Volo/Abp/BlobStoring/BlobContainerExtensions.cs#L40

it may return null if the names do not match.

To speed things up, you can try to not use the GetOrNull, but Get instead and see where it fails. GetOrNull may return null in a lot of cases, which makes issue tracking somewhat difficult.

Hey,

you can archieve that by overriding and extending the login logic. here's a good starting point: https://stackoverflow.com/a/70124473

After you've done the replacement, you can override methods to fulfill your requirements:

Hey,

if you use the Language Management you can search for strings and see the LocalizationResource they are coming from:

Does that help?

Showing 51 to 60 of 147 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 October 30, 2025, 06:33