I have one library and I am using the Feature Store GetOrNullAsync but it returning the null value and when I debug the code and check the Results View, the data is there.
- ABP Framework version: v8.1.3
- 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:
- Steps to reproduce the issue:
3 Answer(s)
-
0
Hi,
Sorry, but this information is not enough to reproduce the problem.
Could you please share the full steps? thanks.
BTW, I recommend you to write to the log to troubleshoot the issue.
-
0
I have created one abp module class library where I need to fetch the features, I am already fetching the setting and setting is working fine. I have added Volo.Abp.Features reference in the class library to get the required features.
In the class, I injected ISettingStore settingStore, IFeatureStore featureStore.
When I get the setting from the settingStore then I am getting the setting value but when I am using the featureStore to get the feature, it returning the null value. I am not able to fetch the feature values from feature store.
Do I need to add dependency of AbpFeaturesModule ?
[DependsOn(typeof(AbpFeaturesModule))]
-
0
Hi,
can you share the full logs?
and you can add some logs. for example:
var testValue = await _featoreStore.GetOrNullAsync(..) logger.LogInformation($"feature name {name} providerName {providerName} ProvderKey ...")