Activities of "tapmui"

Documentation read: https://github.com/abpframework/abp/blob/dev/docs/en/framework/api-development/integration-services.md https://abp.io/community/articles/integration-services-explained-what-they-are-when-to-use-them-and-how-they-behave-lienmsy8#gsc.tab=0 Support notes: https://abp.io/support/questions/8012/Service-to-Service-communication

Problem description:

  • backend service A has and endpoint from where the another module integrationservice is accessed. If the the endpoint in integration service is protected by permission it fails on unauthorized exception (401).
  • the integration endpoint can be accessed directly ie. with postman, no issues.
  • if IotPermissions.IotCombinedDatas.Default permission is removed then this works. But then also this endpoint can be accessed without token. And that is not acceptable.
  • if I add [Authorize] at the service level, again same 401 error. I can add permission IotPermissions.IotCombinedDatas.Default in the backend service A endpoint; user can access this nicely--> this validates that he has the permission allowed.

My excpectation is that the same permissions are to be used also when integrationservice is accessed. What might be the reaso for this; and what is the solution to overcome ? Please advice.

Integrationservice example below:

` [Authorize] // If this is removed then access without token possible, fatal security risk. public class IotintegrationAppService: IotAppService, IIotIntegrationApiService { protected IDistributedCache<IotCombinedDataDownloadTokenCacheItem, string> _downloadTokenCache; protected IIotCombinedDataRepository _iotCombinedDataRepository; protected IotCombinedDataManager _iotCombinedDataManager;

    public IotintegrationAppService(IIotCombinedDataRepository iotCombinedDataRepository, IotCombinedDataManager iotCombinedDataManager, IDistributedCache<IotCombinedDataDownloadTokenCacheItem, string> downloadTokenCache)
    {
        _downloadTokenCache = downloadTokenCache;
        _iotCombinedDataRepository = iotCombinedDataRepository;
        _iotCombinedDataManager = iotCombinedDataManager;

    }

    [Authorize(IotPermissions.IotCombinedDatas.Default)] // If this is removed then I can call this API point.
    public virtual async Task<PagedResultDto<IotCombinedDataDto>> GetListAsync(GetIotCombinedDatasInput input)
    {
        var totalCount = await _iotCombinedDataRepository.GetCountAsync(input.FilterText, input.Status, input.StorageTimeMin, input.StorageTimeMax, input.WorkPhaseOn);
        var items = await _iotCombinedDataRepository.GetListAsync(input.FilterText, input.Status, nput.StorageTimeMin, input.StorageTimeMax, input.WorkPhaseOn, input.Sorting, input.MaxResultCount, input.SkipCount);

        return new PagedResultDto<IotCombinedDataDto>
        {
            TotalCount = totalCount,
            Items = ObjectMapper.Map<List<IotCombinedData>, List<IotCombinedDataDto>>(items)
        };
    }
}


[IntegrationService]
public interface IIotIntegrationApiService : IApplicationService
{
    Task<PagedResultDto<IotCombinedDataDto>> GetListAsync(GetIotCombinedDatasInput input);
}

`

Question

source: trialing https://easycrm.abp.io/ demo

  1. application allows you to create account without country even it is a mandatory field on the UI. After this searching the account fails on internal errors; so does the filters as well.
  2. Create another account and contact under it. Try to create an order from the UI it fails on error:

Further: source code seems to be on Net8 level; any plans to update to 9 ?

  • ABP Framework version: v8.0.2
  • UI Type: Angular
  • Database System: EF Core (SQL Serve)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes, angular with openidDict
  • Exception message and full stack trace:
  • Steps to reproduce the issue: Use any generated page. Add enough entity rows so that there are multiple pages. Go to some other than first page. Now set a filter on so that there is no matching row item on the current page. The result to be shown after filtering is on the first page initially. Issue: Result after filtering is that item that should be shown is not visible. To overcome this issue I have clear filter, then go to first page and set the filter again.

Is this issue known, and when planned to be fixed ? My expectation for the wanted behavior is: if filter was changed, page index is reset first then search done with the filter.

Best regards Tapio Muikku

  • ABP Framework version: v8.0.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace: not related
  • Steps to reproduce the issue:not related

Background: using of geolocation with abp.io. NetTopologySuite.IO.GeoJSON nuget Spatial Data - EF Core | Microsoft Learn

Question 1: How can I use Location datatype with abp suite entity generator ?

Question 2: Any example how to include NetTopologySuite with abp.io solution ? If you had any advices on this it is very wellcome.

Best regards, Tapio Muikku

  • ABP Framework version: 5.2.0-rc.1 (Prerelease)
  • UI type: Angular, single layer
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • [2/4] Fetching packages... [3/4] Linking dependencies... warning "@volo/abp.aspnetcore.mvc.ui.theme.lepton > @volo/abp.aspnetcore.mvc.ui.theme.commercial > @abp/aspnetcore.mvc.ui.theme.shared > @abp/bootstrap > bootstrap@5.1.3" has unmet peer dependency "@popperjs/core@^2.10.2". [4/4] Building fresh packages... success Saved lockfile. Done in 47.00s. [10:11:22 ERR] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "An internal error occurred during your request!", "details": null, "data": {}, "validationErrors": null }

[10:11:22 ERR] Error getting value from 'DefaultNamespace' on 'Volo.Abp.Suite.Models.Solution'. Newtonsoft.Json.JsonSerializationException: Error getting value from 'DefaultNamespace' on 'Volo.Abp.Suite.Models.Solution'. ---> System.ArgumentNullException: Value cannot be null. (Parameter 'path') at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options) at System.IO.Directory.GetFiles(String path, String searchPattern, EnumerationOptions enumerationOptions) at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption) at Volo.Abp.Suite.Models.Solution.get_DefaultNamespace() at Newtonsoft.Json.Serialization.ExpressionValueProvider.GetValue(Object target) --- End of inner exception stack trace --- at Newtonsoft.Json.Serialization.ExpressionValueProvider.GetValue(Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.CalculatePropertyValues(JsonWriter writer, Object value, JsonContainerContract contract, JsonProperty member, JsonProperty property, JsonContract& memberContract, Object& memberValue)

  • Steps to reproduce the issue:" See the attached picture for project setup on abp.suite.
  • Note that I can create the project from the command line successfully. But I cannot attach it in the suite, it is giving the same error. *Example cli command used: abp new Heko -u angular --mobile none -dbms PostgreSQL -t app-nolayers-pro --preview

  • ABP Framework version: v4.2.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

Contribution of Finnish translation with abp.io ?

I'm doing Finnish translation over abp.io pro. Is it possible to contribute it with the commecial solution ? If this is okay, how to proceed ?

Detailed question on translating of AbpUi resouces ?

What is the right resouce of translating texts of AbpUiResource ? Now I did it in this way: // Extend localization of AbpUiResource with Finnish. options.Resources .Get<AbpUiResource>() .AddVirtualJson("/Localization/AbpUi"); But I havw feeling that I should use some of the pro resouces. Please advice ?

  • ABP Framework version: v4.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

Issue1: compilation issues with projects

  1. Open solution Volo.Abp.LeptonTheme.sln from downloaded module.
  2. Try to compile project: Volo.Abp.LeptonTheme.Blazor.Host
  • In my case it does not compile due missing nuget packages: Volo.Abp.Account.Pro.Public.Blazor, Volo.Abp.AspNetCore.Components.WebAssembly

Workaround: unload projects: Volo.Abp.LeptonTheme.Blazor.Host and Volo.Abp.LeptonTheme.Management.Blazor

finding 1: lepton6.scss

  • file seems to use theme variables named lepton5, would be better to use similar naming as file name ?

proposal: dependant projects should be set a project dependency rather than as nuget packages ?

  • Now I need to do this manually, if I wanted to change code with themes.
  • Reference: Volo.Abp.LeptonTheme.Demo, dependency: Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index Related material found: https://community.abp.io/articles/using-angular-material-components-with-the-abp-framework-af8ft6t9

ABP Framework version: v4.2.2 UI type: Angular DB provider: EF Core Identity Server Separated (Angular): yes

Question: Anyone used angular templates with ABP suite to generate components based on MaterialUI on top of abp.io Angular UI ? Reason to ask: We have existing products done with material, including some ready made components.

If you had experiences, it would be great to hear about experiences Does it work well ? Did you find any worries, i.e. with themes integration, flexible layouts, load due more component framework included ?

Showing 1 to 8 of 8 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 05, 2025, 12:34
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.