After you mentioned that the Admin page was include, I had a look at my main Blazor project and none of the payment modules were added to that project aby ABP Suite (4.4.3). So I manually added them. After that I received an Automapper exception complaining about Extraproperties being null. So I went into ExtensionsConfigurator and added an additional property and that seemed to do the trick and it's working now.
However, for the Public UI side of things, I guess we should just build that porition out?
The payments UI seems to be only availalbe for MVC, and partially for Webassembly. Is this correct? I looked at the documentation, and the samples, but their doesn't seem to be anything that targets Blazor Server.
Any recommendations in regars to UI setup? If not, I will just have to build it out.
I lost a lof of time to this as well. But it seems in 5.0.0-rc1, the problem for the most part has been resolved.
The error happens while loading the MainHeader or MainSidebar components.
I have included the source code in my project for the Lepton theme. The error is gives is the same, but the permssion that it's faling on is a bit random. The stack trace below is for AbpIdentit... but another might be "Volo.Abp.AbpException: Undefined permission: Languag"
In order to reproduce:
If you have any missing Localization keys, for example if you reference @L["SecretMenu"], but it's missing from en.json, then the error would happen.
Expected behaviour: In the above case, @L["SecretMenu"] should output the string "SecretMenu", and not through an error.
Edit: This seems to happen with some other exceptions as well, with the actual exception being masked.
If you're creating a bug/problem report, please include followings:
Volo.Abp.AbpException: Undefined permission: AbpIdentit
at Volo.Abp.Authorization.Permissions.PermissionDefinitionManager.Get(String name)
at Volo.Abp.Authorization.Permissions.PermissionChecker.IsGrantedAsync(ClaimsPrincipal claimsPrincipal, String[] names)
at Volo.Abp.Authorization.Permissions.PermissionChecker.IsGrantedAsync(String[] names)
at Volo.Abp.Authorization.Permissions.RequirePermissionsSimpleBatchStateChecker1.IsEnabledAsync(SimpleBatchStateCheckerContext
1 context)
at Volo.Abp.SimpleStateChecking.SimpleStateCheckerManager`1.IsEnabledAsync(TState[] states)
at Volo.Abp.UI.Navigation.MenuManager.CheckPermissionsAsync(IServiceProvider serviceProvider, IHasMenuItems menuWithItems)
at Volo.Abp.UI.Navigation.MenuManager.GetInternalAsync(String name)
at Volo.Abp.UI.Navigation.MenuManager.GetAsync(String[] menuNames)
at Volo.Abp.AspNetCore.Components.Web.LeptonTheme.Components.ApplicationLayout.Navigation.MainMenuProvider.GetMenuAsync() in D:_dev\ReferMe\modules\Volo.LeptonTheme\src\Volo.Abp.AspNetCore.Components.Web.LeptonTheme\Components\ApplicationLayout\Navigation\MainMenuProvider.cs:line 30
at Volo.Abp.AspNetCore.Components.Web.LeptonTheme.Components.ApplicationLayout.Navigation.MainSiderbar.OnInitializedAsync() in D:_dev\ReferMe\modules\Volo.LeptonTheme\src\Volo.Abp.AspNetCore.Components.Web.LeptonTheme\Components\ApplicationLayout\Navigation\MainSiderbar.razor.cs:line 19
at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
When will there be support for the Payments UI (configuration through the Admin UI) and Chat for Blazor Server?
For example, currently when I try to install Payments using the Cli or Suite I get:
appsettings file could not be found. Path : D:__repo\Test\aspnet-core\src\Test.Blazor\wwwroot\appsettings.json