Activities of "karl.ettinger@energieag.at"

Thanks, that was it!

hi,

With my configuration:

Configure<AbpFeatureOptions>(options =>
{
    options.ValueProviders.Insert(0, typeof(FvpRoleBasedFeatureValueProvider));
});

In which order is the ValueProvider inserted? I assume that the ValueProvider is inserted at the beginning of the list and is therefore the first one to be called.

Is that correct?

Hi!

... Typically, a feature will have a default value

Yes, that's what I intended to do as well. But then my FvpRoleBasedFeatureValueProvider is not invoked, even though it’s registered first in the list. Instead, a default FeatureValueProvider is used, which doesn’t know how to handle my default values and throws an exception. See the test project under screenshot\02 Test-2 Exception.png. And that's the problem.

  • Without a default value, FvpRoleBasedFeatureValueProvider is used.
  • With a default value, FvpRoleBasedFeatureValueProvider is not used.

What do I need to do to ensure that my FvpRoleBasedFeatureValueProvider is always used when it is registered first?

Hi!

I have implemented a FeatureValueProvider for roles (RoleBasedFeatureValueProvider) and registered it as the first provider in the list of FeatureValueProviders. However, I noticed that when I specify a defaultValue in .AddFeature, my RoleBasedFeatureValueProvider is not invoked. If I leave out the defaultValue in .AddFeature, the text fields of type FreeTextStringValueType appear disabled in the Blazor UI under Administrator → Saas → Editions → Default Edition → Features. This behavior seems quite unexpected. As a workaround, I had to modify my RoleBasedFeatureValueProvider so that, upon the first call to FeatureChecker.IsEnabledAsync, an entry is created in the AbpFeatureValues table.

Could you please explain why my RoleBasedFeatureValueProvider, although registered first in the list, is ignored when a defaultValue is provided in .AddFeature?

Thank you!

Hi!

Our production website was also unavailable due to this error. How can it be that our fully provisioned production website is down just because ABP's NuGet server is having problems?

Hi,

Thanks for the example. I will give it a try.

  • ABP Framework version: v8.0.3
  • UI Type: Blazor Server
  • Database System: EF Core Oracle

Hello

We have a 30 year old Windows desktop software that we are migrating to Blazor Server with ABP Framework. This old software has a database in which all system data for the software is stored. This includes the database structure definitions, form definitions, authorisations and much more. For the new software, we have written a code generator that uses this data and creates as much new ABP code as possible. The generated partial C# code files are structured according to the system, that there is a main file and one or more ‘sub’ files for the main file. Example: AnlMangager.cs, AnlMangager.g.cs or AnlAppService.cs, AnlAppService.Xxx1.g.cs, AnlAppService.Xxx2.g.cs. All *.g.cs are always newly created by the generator. During creation, however, the main file (e.g. AnlMangager.cs) is checked to see whether the method to be generated already exists. If so, the method is not recreated.

This works very well. The situation is different with the localisation files (en.json, de-DE.json, ...). Unfortunately, these cannot be created according to the above scheme, as the ABP framework does not provide ‘partial’ files for localisation, in the sense of en.json, en.Xxx1.json or de-DE.json, de-DE.Xxx1.json, de-DE.Xxx2.json.

Do you have any idea how I can change the behaviour of the ABP framework so that I can split the localisation files into several files?

Thank you, it works

  • ABP Framework version: v8.0.3
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no

Hi!

We use the Blazorise library supplied with the ABP framework.

In the image below with the “Maßnahme” and “Notiz” fields, the colored background of the “Maßnahme” text field does not indicate that this input field is “disabled”. The “Notiz” text field is “not disabled”

Will this problem be fixed in future versions or what can I do to fix this problem?

hi,

another problem when using app.UsePathBase is that the language selection does not work in either the mobile view or the desktop view. After selecting the language, the URL changes from “https://tbfs001wvv.powerentity.com/BookStore” to “https://tbfs001wvv.powerentity.com/https://tbfs001wvv.powerentity.com/BookStore”

From:

To:

Showing 1 to 10 of 39 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 08, 2025, 08:24
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.