Activities of "samirmustafayev"

It solved the issue.

Thanks

This code is there, but still i am getting error when Actions->Edit

blazor.web.js:1 [2025-12-20T05:02:32.742Z] Error: Volo.Abp.AbpException: No object mapping was found for the specified source and destination types.

Mapping attempted:
TaskGroupDto -> TaskGroupUpdateDto
Payhas.TaskManagement.TaskGroups.TaskGroupDto -> Payhas.TaskManagement.TaskGroups.TaskGroupUpdateDto

How to fix:
Define a mapping class for these types:
   - Use MapperBase<TSource, TDestination> for one-way mapping.
   - Use TwoWayMapperBase<TDestination, TSource> for two-way mapping.

For details, see the Mapperly integration document https://abp.io/docs/latest/framework/infrastructure/object-to-object-mapping#mapperly-integration
   at Volo.Abp.Mapperly.MapperlyAutoObjectMappingProvider.Map[TSource,TDestination](Object source)
   at Volo.Abp.ObjectMapping.DefaultObjectMapper.AutoMap[TSource,TDestination](Object source)
   at Volo.Abp.ObjectMapping.DefaultObjectMapper.Map[TSource,TDestination](TSource source)
   at Payhas.TaskManagement.Blazor.Pages.TaskManagement.TaskGroups.OpenEditTaskGroupModalAsync(TaskGroupDto input) in D:\Billing_Platform\modules\payhas.taskmanagement\src\Payhas.TaskManagement.Blazor\Pages\TaskManagement\TaskGroups.razor.cs:line 218
   at Payhas.TaskManagement.Blazor.Pages.TaskManagement.TaskGroups.<>c__DisplayClass107_0.<<BuildRenderTree>b__41>d.MoveNext() in D:\Billing_Platform\modules\payhas.taskmanagement\src\Payhas.TaskManagement.Blazor\Pages\TaskManagement\TaskGroups.razor:line 151
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
   at Volo.Abp.BlazoriseUI.Components.EntityAction`1.ActionClickedAsync()
   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
   at Blazorise.DropdownItem.ClickHandler()
   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

this is the code :

public class TaskManagementBlazorModule : AbpModule
{
    public override void ConfigureServices(ServiceConfigurationContext context)
    {
        context.Services.AddAutoMapperObjectMapper&lt;TaskManagementBlazorModule&gt;();

        Configure&lt;AbpAutoMapperOptions&gt;(options =>
        {
            options.AddProfile&lt;TaskManagementBlazorAutoMapperProfile&gt;(validate: true);
        });

        Configure&lt;AbpNavigationOptions&gt;(options =>
        {
            options.MenuContributors.Add(new TaskManagementMenuContributor());
        });

        Configure&lt;AbpRouterOptions&gt;(options =>
        {
            options.AdditionalAssemblies.Add(typeof(TaskManagementBlazorModule).Assembly);
        });
    }
public class TaskManagementBlazorAutoMapperProfile : Profile
{
    public TaskManagementBlazorAutoMapperProfile()
    {
        /* You can configure your AutoMapper mapping configuration here.
         * Alternatively, you can split your mapping configurations
         * into multiple profile classes for a better organization. */

        CreateMap&lt;TaskGroupDto, TaskGroupUpdateDto&gt;();

        CreateMap&lt;TaskTypeDto, TaskTypeUpdateDto&gt;();

        CreateMap&lt;TaskItemDto, TaskItemUpdateDto&gt;();
    }
}

and here is application configuration :

public class TaskManagementApplicationModule : AbpModule
{
    public override void ConfigureServices(ServiceConfigurationContext context)
    {
        context.Services.AddAutoMapperObjectMapper&lt;TaskManagementApplicationModule&gt;();
        Configure&lt;AbpAutoMapperOptions&gt;(options =>
        {
            options.AddMaps&lt;TaskManagementApplicationModule&gt;(validate: true);
        });
    }
}

Hi Abp Team,

I have an issue with AutoMapperProfile. I am using AutoMapper after update to version 10.0.1 i am getting an issue with it. It tells me to use Mapperly. In application layer it works but in Blazor it asks to use mapperly.

How can I resolve this issue?

Hi I figured it out. the problem was not in the features. We using RenderdMode so BlazorClient configured to RemoteServer which is the BlazorServer not HttpApiHost.

Thanks.

Any suggestions on this issue, cause dependency is there. Signa R getting the features but by http api it does not?

I could not find solution for the issue that I have

Main project is WASM but modules are Blazor server (they do not have blazorClient). Main project and modules are tiered. Does this endpoint's website depend on your feature definition package? Answers : yes, FeatureManagement modules installed.

Nuget package was made from moduled Blazor WASM project from one of the modules for example Module#2 . MainProject (tiered) Module#1 => (feature groups were added DefinitionProvider) (tiered) Module#2 => (DependsOn Module#1 using adding features to the featureGroup) (tiered) Module#3 => (DependsOn Module#1 using adding features to the featureGroup) (tiered) Module#4 => (DependsOn Module#1 using adding features to the featureGroup) (tiered)

Created New Blazor Wasm moduled tiered project where modules are Blazor server , cause there no BlazorClient. In Domain added FeatureDefenitionProvider with GetGroupOrNull and added feature with default true. In DomainShared added constant for features name to use in BlazorClient MenuContributor class for menu item that RequersFeature().

In database AbpFeatureGroups table the custom added groups are there, also in Administration-Settings-FeatureManagment: FeatureGroups are visible and they functionaly working but in menu they are disappeared

Hi Abp Team,

I am having an issue with the Features in moduled Blazor Web Application. I have a nuget package wich contains FeatureDefenitionProvider for Groups where defenition provider is located in Domain layer and class for const name in Domay.Shared layer, i am using this groups in my modules to control them by features, by default they are true. When i start programm at first every component that is using RequersFeature() are visible, but then disapears on complete program load. As I understand server can see and detect them thas why it visible but when blazor client loads it make them disapear and in abp/application-configuration/feature:values there is no my custom features. My groups are in database with default values and in UI Settings:FeaturesManagement: groups and children are also visible and working. For example i will show featuresdefenition provider for Saas: Domain

using Payhas.Billing.Platform.Localization;
using Payhas.Common.Features; // this is the nuget package
using Volo.Abp.Features;
using Volo.Abp.Localization;

namespace Payhas.Billing.Platform.Features;

public class SaasFeaturesDefinitionProvider : FeatureDefinitionProvider
{
    public override void Define(IFeatureDefinitionContext context)
    {
        var mainModuleGroup = context.GetGroupOrNull(ModulesFeatures.Main);

        mainModuleGroup?.AddFeature(SaasFeatures.Saas,
           defaultValue: "true",
           L(SaasFeatures.Saas));
    }

    private static LocalizableString L(string name)
    {
        return LocalizableString.Create<PlatformResource>("Features:" + name);
    }
}

DomainShared:

using Payhas.Common.Features;
using Volo.Abp.Reflection;

namespace Payhas.Billing.Platform.Features;

public class SaasFeatures
{
    public const string Saas = ModulesFeatures.Main + ".Saas";

    public static string[] GetAll()
    {
        return ReflectionHelper.GetPublicConstantsRecursively(typeof(SaasFeatures));
    }
}

Blazor.Client: Navigation MenuContributor

//Saas
 var saas = context.Menu.GetMenuItem(SaasHostMenus.GroupName);
 saas.RequireFeatures(SaasFeatures.Saas);

<br>

Thanks for responding. )))

But with change of configuration, does the localhost also should change in browse as entry point. You still using localhost:44336, instead of test.company:44336? Or am I misunderstanding?

Showing 1 to 10 of 27 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
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 January 09, 2026, 07:22
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.