jasenfici@gmail.com的活动

  • ABP Framework version: v8.1.1
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): Auth
  • Exception message and full stack trace:
  • Steps to reproduce the issue:
  1. Create a new entity in an Angular project using ABP Suite, include UI.
  2. Save and generate
  3. Add a new property to the entity

AbpSuite blows up looking for the .Web project (which doesn't exist in an Angular solution) trying to update the menus. Can't generate any of the Angular UI for it now.

问题

Requesting that issue be reopened. The closing comment is incorrrect. Simply running abp-suite and generating a new project causes the issue, you don’t have to download any source code to encounter it.

  • ABP Framework version: v7.4
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
[19:18:18 ERR] An unhandled exception has occurred while executing the request.
Autofac.Core.DependencyResolutionException: An exception was thrown while activating Volo.CmsKit.Web.Renderers.MarkdownToHtmlRenderer.
 ---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(Markdig.MarkdownPipeline)' on type 'MarkdownToHtmlRenderer'.
 ---> System.TypeLoadException: Could not load type 'Ganss.XSS.HtmlSanitizer' from assembly 'HtmlSanitizer, Version=8.0.0.0, Culture=neutral, PublicKeyToken=61c49a1a9e79cc28'.
   at Volo.CmsKit.Web.Renderers.MarkdownToHtmlRenderer..ctor(MarkdownPipeline markdownPipeline)
   at lambda_method177(Closure, Object[])
   at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate()
   --- End of inner exception stack trace ---
   at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate()
   at Autofac.Core.Activators.Reflection.ReflectionActivator.<>c__DisplayClass14_0.<UseSingleConstructorActivation>b__0(ResolveRequestContext ctxt, Action`1 next)
   at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
   at Autofac.Builder.RegistrationBuilder`3.&lt;&gt;c__DisplayClass41_0.&lt;PropertiesAutowired&gt;b__0(ResolveRequestContext ctxt, Action`1 next)
   at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
   --- End of inner exception stack trace ---
   at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
   at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
   at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action`1 next)
   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
   at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request)
   at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
   at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
   at Microsoft.AspNetCore.Mvc.Razor.RazorPagePropertyActivator.<>c__DisplayClass8_0.<CreateActivateInfo>b__1(ViewContext context)
   at Microsoft.AspNetCore.Mvc.Razor.RazorPagePropertyActivator.Activate(Object page, ViewContext context)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context)
   at Microsoft.AspNetCore.Mvc.ViewComponents.ViewViewComponentResult.ExecuteAsync(ViewComponentContext context)
   at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeAsync(ViewComponentContext context)
   at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentHelper.InvokeCoreAsync(ViewComponentDescriptor descriptor, Object arguments)
   at Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpViewComponentHelper.InvokeWidgetAsync(Object arguments, WidgetDefinition widget)
   at Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpViewComponentHelper.InvokeAsync(Type componentType, Object arguments)
   at AspNetCoreGeneratedDocument.Pages_Public_CmsKit_Pages_Index.<ExecuteAsync>b__11_5()
   at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext.SetOutputContentAsync()
   at AspNetCoreGeneratedDocument.Pages_Public_CmsKit_Pages_Index.<ExecuteAsync>b__11_2()
   at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext.SetOutputContentAsync()
   at AspNetCoreGeneratedDocument.Pages_Public_CmsKit_Pages_Index.ExecuteAsync()
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable`1 statusCode)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable`1 statusCode)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResultFilterAsync>g__Awaited|30_0[TFilter,TFilterAsync](ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeResultFilters()
--- End of stack trace from previous location ---
  • Steps to reproduce the issue:

Hi, I recently added CmsKit to our application, and it seemed to go well. Migrations worked, menu options displayed, I was able to create a blog and a post from within the app, no problem. I created my first "Page" to display the blog, but when I navigate to the page, a get 500. It looks like there is some issue with Ganss HtmlSanitizer not being initialized in to Autofac. I believe I have everything installed and configured properly otherwise I wouldn't be able to access the admin pages.

It's a semi-large project already with everything working well. We needed to add the CmsKit so the app could host it's own blogs. Adding the module and code did not break anything else, the only thing not working is trying to view a CmsKit page. Any help would be appreciated.

Here's the NuGet packages I have installed:

Project 'MyProject.Domain' has the following package references
   [net7.0]: 
   Top-level Package                                      Requested   Resolved
   > AngleSharp                                           0.17.1      0.17.1  
   > Betalgo.OpenAI                                       7.3.0       7.3.0   
   > Hangfire.Console                                     1.4.2       1.4.2   
   > HtmlAgilityPack                                      1.11.54     1.11.54 
   > HtmlSanitizer                                        8.0.723     8.0.723 
   > Microsoft.AspNet.WebApi.Client                       5.2.9       5.2.9   
   > NodaTime                                             3.1.9       3.1.9   
   > SixLabors.ImageSharp                                 2.1.6       2.1.6   
   > System.ServiceModel.Syndication                      7.0.0       7.0.0   
   > Verify.ImageSharp                                    4.0.1       4.0.1   
   > Volo.Abp.AuditLogging.Domain                         7.4.0       7.4.0   
   > Volo.Abp.BackgroundJobs.Domain                       7.4.0       7.4.0   
   > Volo.Abp.BackgroundWorkers.Hangfire                  7.4.0       7.4.0   
   > Volo.Abp.BlobStoring.Azure                           7.4.0       7.4.0   
   > Volo.Abp.BlobStoring.Database.Domain                 7.4.0       7.4.0   
   > Volo.Abp.Caching                                     7.4.0       7.4.0   
   > Volo.Abp.Commercial.SuiteTemplates                   7.4.0       7.4.0   
   > Volo.Abp.Emailing                                    7.4.0       7.4.0   
   > Volo.Abp.EntityFrameworkCore                         7.4.0       7.4.0   
   > Volo.Abp.FeatureManagement.Domain                    7.4.0       7.4.0   
   > Volo.Abp.Gdpr.Domain                                 7.4.0       7.4.0   
   > Volo.Abp.Identity.Pro.Domain                         7.4.0       7.4.0   
   > Volo.Abp.LanguageManagement.Domain                   7.4.0       7.4.0   
   > Volo.Abp.LeptonTheme.Management.Domain               7.4.0       7.4.0   
   > Volo.Abp.OpenIddict.Pro.Domain                       7.4.0       7.4.0   
   > Volo.Abp.PermissionManagement.Domain.Identity        7.4.0       7.4.0   
   > Volo.Abp.PermissionManagement.Domain.OpenIddict      7.4.0       7.4.0   
   > Volo.Abp.SettingManagement.Domain                    7.4.0       7.4.0   
   > Volo.Abp.TextTemplateManagement.Domain               7.4.0       7.4.0   
   > Volo.CmsKit.Pro.Domain                               7.4.0       7.4.0   
   > Volo.Saas.Domain                                     7.4.0       7.4.0   
   > Z.ExtensionMethods                                   2.1.1       2.1.1   

Project 'MyProject.Application' has the following package references
   [net7.0]: 
   Top-level Package                                  Requested      Resolved    
   > Betalgo.OpenAI                                   7.3.0          7.3.0       
   > Google.Analytics.Data.V1Beta                     2.0.0-beta03   2.0.0-beta03
   > Hangfire.SqlServer                               1.8.2          1.8.2       
   > HtmlAgilityPack                                  1.11.54        1.11.54     
   > HtmlSanitizer                                    8.0.723        8.0.723     
   > Microsoft.AspNetCore.Mvc.Core                    2.2.5          2.2.5       
   > MiniExcel                                        1.31.2         1.31.2      
   > NodaTime                                         3.1.9          3.1.9       
   > Volo.Abp.Account.Pro.Admin.Application           7.4.0          7.4.0       
   > Volo.Abp.Account.Pro.Public.Application          7.4.0          7.4.0       
   > Volo.Abp.Account.Pro.Shared.Application          7.4.0          7.4.0       
   > Volo.Abp.AuditLogging.Application                7.4.0          7.4.0       
   > Volo.Abp.BackgroundJobs.HangFire                 7.4.0          7.4.0       
   > Volo.Abp.BackgroundWorkers.Hangfire              7.4.0          7.4.0       
   > Volo.Abp.BlobStoring.Azure                       7.4.0          7.4.0       
   > Volo.Abp.FeatureManagement.Application           7.4.0          7.4.0       
   > Volo.Abp.Gdpr.Application                        7.4.0          7.4.0       
   > Volo.Abp.Identity.Pro.Application                7.4.0          7.4.0       
   > Volo.Abp.LanguageManagement.Application          7.4.0          7.4.0       
   > Volo.Abp.LeptonTheme.Management.Application      7.4.0          7.4.0       
   > Volo.Abp.OpenIddict.Pro.Application              7.4.0          7.4.0       
   > Volo.Abp.PermissionManagement.Application        7.4.0          7.4.0       
   > Volo.Abp.SettingManagement.Application           7.4.0          7.4.0       
   > Volo.Abp.TextTemplateManagement.Application      7.4.0          7.4.0       
   > Volo.CmsKit.Pro.Application                      7.4.0          7.4.0       
   > Volo.Saas.Host.Application                       7.4.0          7.4.0       
   > Z.ExtensionMethods                               2.1.1          2.1.1       

Project 'MyProject.Web' has the following package references
   [net7.0]: 
   Top-level Package                                           Requested     Resolved   
   > AspNetCore.HealthChecks.UI                                7.0.2         7.0.2      
   > AspNetCore.HealthChecks.UI.Client                         7.1.0         7.1.0      
   > AspNetCore.HealthChecks.UI.InMemory.Storage               7.0.0         7.0.0      
   > Edi.RouteDebugger                                         1.7.0         1.7.0      
   > Google.Apis.AnalyticsReporting.v4                         1.62.0.2484   1.62.0.2484
   > Hangfire.Console                                          1.4.2         1.4.2      
   > Hangfire.SqlServer                                        1.8.2         1.8.2      
   > Microsoft.ApplicationInsights.AspNetCore                  2.21.0        2.21.0     
   > Microsoft.ApplicationInsights.SnapshotCollector           1.4.4         1.4.4      
   > Microsoft.AspNetCore.Authentication.Google                7.0.12        7.0.12     
   > Microsoft.AspNetCore.Authentication.MicrosoftAccount      7.0.12        7.0.12     
   > Microsoft.AspNetCore.Authentication.Twitter               7.0.12        7.0.12     
   > OpenIddict.Server.AspNetCore                              4.9.0         4.9.0      
   > OpenIddict.Validation.AspNetCore                          4.9.0         4.9.0      
   > Serilog.AspNetCore                                        7.0.0         7.0.0      
   > Serilog.Sinks.ApplicationInsights                         4.0.0         4.0.0      
   > Serilog.Sinks.Async                                       1.5.0         1.5.0      
   > Volo.Abp.Account.Pro.Admin.Web                            7.4.0         7.4.0      
   > Volo.Abp.Account.Pro.Public.Web                           7.4.0         7.4.0      
   > Volo.Abp.Account.Pro.Public.Web.IdentityServer            7.4.0         7.4.0      
   > Volo.Abp.Account.Pro.Public.Web.OpenIddict                7.4.0         7.4.0      
   > Volo.Abp.AspNetCore.Authentication.JwtBearer              7.4.0         7.4.0      
   > Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton                   7.4.0         7.4.0      
   > Volo.Abp.AspNetCore.Serilog                               7.4.0         7.4.0      
   > Volo.Abp.AuditLogging.Web                                 7.4.0         7.4.0      
   > Volo.Abp.Autofac                                          7.4.0         7.4.0      
   > Volo.Abp.BackgroundJobs.HangFire                          7.4.0         7.4.0      
   > Volo.Abp.BackgroundWorkers.Hangfire                       7.4.0         7.4.0      
   > Volo.Abp.BlobStoring.Azure                                7.4.0         7.4.0      
   > Volo.Abp.FeatureManagement.Web                            7.4.0         7.4.0      
   > Volo.Abp.Gdpr.Web                                         7.4.0         7.4.0      
   > Volo.Abp.Identity.Pro.Web                                 7.4.0         7.4.0      
   > Volo.Abp.Imaging.Abstractions                             7.4.0         7.4.0      
   > Volo.Abp.LanguageManagement.Web                           7.4.0         7.4.0      
   > Volo.Abp.LeptonTheme.Management.Web                       7.4.0         7.4.0      
   > Volo.Abp.OpenIddict.AspNetCore                            7.4.0         7.4.0      
   > Volo.Abp.OpenIddict.Pro.Web                               7.4.0         7.4.0      
   > Volo.Abp.Swashbuckle                                      7.4.0         7.4.0      
   > Volo.Abp.TextTemplateManagement.Web                       7.4.0         7.4.0      
   > Volo.CmsKit.Pro.Web                                       7.4.0         7.4.0      
   > Volo.Saas.Host.Web                                        7.4.0         7.4.0      

(A) : Auto-referenced package.

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 The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v7.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace: System.InvalidOperationException: 'The partial view '~/Themes/Lepton/Components/MainMenu/_WebinarCafeMenuItem.cshtml' was not found. The following locations were searched:~/Themes/Lepton/Components/MainMenu/_WebinarCafeMenuItem.cshtml'
  • Steps to reproduce the issue:"

Hi, we have customized certain parts of the Lepton Lite theme and everything works great locally, however, when we deploy to Azure we are getting an exception that the partial cannot be found. I am sure the partial file is being included in the deployment and have investigated the deployed files to be sure. I know the deployment works when not hitting a page that has overridden theme files, as those pages load great. However, I have spent hours trying to determine why a file that clearly exists in the proper path is not being picked up. I have a feeling it's something to do with compiled resources in the default theme being overriden by a phsyical file but have no clue on how to debug this.

I have attached a screenshot showing the exception along with the dir of the actual file out in the AppService environment. Any thoughts would be greatly appreciated.

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 The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v7.2.2
  • UI type: MVC
  • DB provider: EF Core / SQL
  • Tiered (MVC) or Identity Server Separated (Angular): no

Brand new ABP Suite generated project. Select Replace Packages with Source Code from Lepton X Pro module within ABP Suite Error message:

[09:07:43 ERR] Error occured while adding the module Volo.Abp.LeptonXTheme.Prowith source-code to the solution "ee19fc5f-b9f0-4ab4-b4ed-e99347111e59".. Volo.Abp.Cli.CliUsageException: Volo.Abp.LeptonXTheme.Pro Module is not available for this command! You can check the module's documentation for more info. at Volo.Abp.Cli.Commands.AddModuleCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\AddModuleCommand.cs:line 62 at Volo.Abp.Suite.Controllers.AbpSuiteController.AddModuleAsync(AddModuleInput input)

I checked abp command line and I am logged in.

If I run the command from a prompt abp get-source Volo.Abp.LeptonXTheme.Pro the download works:

C:\src\LeptonXTheme.Pro>abp get-source Volo.Abp.LeptonXTheme.Pro ABP CLI 7.2.2 Downloading source code of Volo.Abp.LeptonXTheme.Pro (vLatest) Output folder: C:\src\LeptonXTheme.Pro Using cached module: Volo.Abp.LeptonXTheme.Pro, version: 2.2.1 Check out the documents at https://docs.abp.io/en/commercial/latest/themes/lepton-x/index 'Volo.Abp.LeptonXTheme.Pro' has been successfully downloaded to 'C:\src\LeptonXTheme.Pro'

but that command does not rip out the Nuget packages and replace them with the source code.

  • ABP Framework version: v7.2.2

  • UI type: MVC

  • DB provider: EF Core

  • Tiered (MVC) or Identity Server Separated (Angular): yes

  • Steps to reproduce the issue:

I'm pretty sure this is a bug, so I never know if I should be posting it here, in the GitHub abp issues repository, or the discussion, hope this is the right place.

We create new tenants on cusomter registration, and we have a few entities that are accessed via MongoDb instead of SQL, so we need to add a secondary connection string to the SaaSTenantConnectionStrings table. Right now we have tried two ways to make this happen and neither seem to work:

Attempt 1:

var tenant = await base.CreateAsync(new Volo.Saas.Host.Dtos.SaasTenantCreateDto
    {
        ActivationEndDate = DateTime.UtcNow.AddDays(14),
        ActivationState = TenantActivationState.ActiveWithLimitedTime,
        EditionId = editionId,
        Name = dbName,
        AdminEmailAddress = $"-redacted-",
        AdminPassword = _$"-redacted-",
        ConnectionStrings = new Volo.Saas.Host.Dtos.SaasTenantConnectionStringsDto
        {
            Default = defaultDb,
            Databases = new List<SaasTenantDatabaseConnectionStringsDto>()
            {
                new SaasTenantDatabaseConnectionStringsDto
                {
                    DatabaseName = "MongoDb",
                    ConnectionString = mongoDb
                }
            }
        }
    })

This results in only the default database being created, the MongoDb connectionstring is never inserted.

So post-tenant creation we are now trying this as well:

var stcsDto = new SaasTenantConnectionStringsDto();
stcsDto.Default = defaultDb;
stcsDto.Databases = new List<SaasTenantDatabaseConnectionStringsDto>()
{
    new SaasTenantDatabaseConnectionStringsDto
    {
        DatabaseName = "MongoDb",
        ConnectionString = mongoDb
    }
};
await base.UpdateConnectionStringsAsync(tenant.Id, stcsDto);

This also doesn't seem to insert the MongoDb connectionstring.

If we are using this wrong, please let me know the best way to insert a secondary connection string (assume there's a repository?) I was just trying to use what I assume is the best practice. I don't see any documentation on these calls so we are kind of inferring their usage. What is the intended outcome of both these calls? What SHOULD we do to create the secondary entry?

thank you, jasen

Just a question:

Is the LeptonX sidebar supposed to be collapsible? Clicking the collapse button doesn't seem to hide the panel but instead just obfuscates the main content. Even on the main demo site for the theme it behaves oddly. https://x.leptontheme.com/index.html

问题

Hi all,

One of the problems we are spending an inordinate amount of time with is in reference to documentation. In my example I will reference the Text Templating Razor document since that is what we are struggling with at the moment (https://docs.abp.io/en/abp/latest/Text-Templating-Razor)

As most, we are using a scaffolded application (in our case, generated with abp-suite).

However, when we go to look up and follow instructions on how to implement modules, the documentation makes frequent references to the term "your module". This is an incredibly generic term and our team spends a lot of time trying to figure out what the abp team means by that in reference to the entire solution, as there are many many "modules" within a single solution. I know abp has a specific definition of a "module" but in the scope of an entire pre-built solution, the term is just not specific enough.

We have currently spent days trying to figure out how to simply follow the directions on the TextTemplating documentation, with aspects of it still not working, as we are constantly left guessing exactly WHERE some section of code needs to go. In the Text-Templating-Razor documentation alone, there are five references to "your module". Maybe we are completely dumb, or maybe we have missed some greater more abstract implication to that term, but in either case we could use some clarity.

Please don't say look at the demo's either. We have. They are all implemented in much small bite-size (and most the time single-module) demonstrations, which is great for seeing things in action, but not helpful when trying to simply follow the docs on the standard solution.

The attached screenshot is a sample. There are 4 references to "your module", plus no direct reference on which module both of those "ConfigureServices" calls are referencing.

Thanks! (hoping a request for document clarity doesn't count towards our tickets ;-)

Create a new project directly from abp-suite

Configure newsletter preferences:

 options.AddPreference(
                "Newsletter_Default",
                new NewsletterPreferenceDefinition(
                    LocalizableString.Create<WebinarCafeResource>("NewsletterPreference_Default"),
                    privacyPolicyConfirmation: LocalizableString.Create<WebinarCafeResource>("NewsletterPrivacyAcceptMessage")
                )
            );

Run application, everything works great. I can go in to Admin and see the Newsletter management page:

However, as soon as I add the display widget to a page:

@using Volo.Abp.AspNetCore.Mvc.UI.Layout
@using Microsoft.AspNetCore.Mvc.Localization
@using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Alert
@using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Blockquote
@using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Button
@using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Card
@using Volo.Abp.Users
@using Volo.CmsKit.Pro.Public.Web.Pages.Public.Shared.Components.Newsletter

<div class="card mt-5">
    <div class="card-body">
        <div class="row">
            <div class="col-md d-flex align-items-center">
                @await Component.InvokeAsync(
                    typeof(NewsletterViewComponent),
                    new
                    {
                preference = "Newsletter_Default",
                        source = "Footer",
                        requestAdditionalPreferencesLater = false
                    })
            </div>
        </div>
    </div>
</div>

I get an errors regarding missing assets. I have scoured the documentation and understand how to reference assets when building our own widgets, but have found nothing that explains how to get my application to work with the compiled widgets from the commercial modules such as CmsKit. If I have missed it, please send me the link... if I have not missed it, a little guidance on how or what I am missing here would be great! Thank you so much.

jasen

  • ABP Framework version: 6.0.1
  • UI type: MVC
  • DB provider: EF Core /
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
Volo.Abp.AbpException: Could not find the bundle file '/Pages/Public/Shared/Components/Newsletter/Default.css' for the bundle '5F3A625B1E5289F9B4FE97A5E25E2141'!
   at Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpTagHelperResourceService.ProcessAsync(ViewContext viewContext, TagHelper tagHelper, TagHelperContext context, TagHelperOutput output, List`1 bundleItems, String bundleName)
   at Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpBundleTagHelperService`2.ProcessAsync(TagHelperContext context, TagHelperOutput output)
   at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner.<RunAsync>g__Awaited|0_0(Task task, TagHelperExecutionContext executionContext, Int32 i, Int32 count)
   at AspNetCoreGeneratedDocument.Volo_Abp_AspNetCore_Mvc_UI_Widgets_Components_WidgetStyles_Default.ExecuteAsync()
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context)
   at Microsoft.AspNetCore.Mvc.ViewComponents.ViewViewComponentResult.ExecuteAsync(ViewComponentContext context)
   at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeAsync(ViewComponentContext context)
   at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentHelper.InvokeCoreAsync(ViewComponentDescriptor descriptor, Object arguments)
   at Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpViewComponentHelper.InvokeAsync(Type componentType, Object arguments)
   at ERWIIxOFYGRoT95Rbss.n2uEpTO8cMNabKx1lh2.<>c__DisplayClass19_0.nIpTb4I3kIb5COh9J7X.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext.SetOutputContentAsync()
   at ERWIIxOFYGRoT95Rbss.n2uEpTO8cMNabKx1lh2.ExecuteAsync()
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderLayoutAsync(ViewContext context, ViewBufferTextWriter bodyWriter)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable`1 statusCode)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable`1 statusCode)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResultFilterAsync>g__Awaited|30_0[TFilter,TFilterAsync](ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeResultFilters()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Volo.Abp.AspNetCore.Serilog.AbpSerilogMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Volo.Abp.AspNetCore.Auditing.AbpAuditingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Volo.Abp.AspNetCore.Auditing.AbpAuditingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
   at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Volo.Abp.AspNetCore.Uow.AbpUnitOfWorkMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Volo.Abp.AspNetCore.ExceptionHandling.AbpExceptionHandlingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Volo.Abp.AspNetCore.ExceptionHandling.AbpExceptionHandlingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Builder.ApplicationBuilderAbpOpenIddictMiddlewareExtension.<>c__DisplayClass0_0.<<UseAbpOpenIddictValidation>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware.<Invoke>g__AwaitMatcher|8_0(EndpointRoutingMiddleware middleware, HttpContext httpContext, Task`1 matcherTask)
   at Volo.Abp.AspNetCore.Security.AbpSecurityHeadersMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.&lt;&gt;c__DisplayClass6_1.&lt;&lt;UseMiddlewareInterface&gt;b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Volo.Abp.AspNetCore.Tracing.AbpCorrelationIdMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.&lt;&gt;c__DisplayClass6_1.&lt;&lt;UseMiddlewareInterface&gt;b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.&lt;&gt;c__DisplayClass6_1.&lt;&lt;UseMiddlewareInterface&gt;b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
  • Steps to reproduce the issue:"
显示 9 个条目中的 1 到 9 个.
Made with ❤️ on ABP v8.2.0-preview Updated on 三月 25, 2024, 15:11