Open Closed

Another issue with FORMS v5.3.0-RC2 #3142


User avatar
0
Mikael created
  • ABP Framework version: v5.3.0-RC2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace: An unhandled exception occurred while processing the request. ComponentNotRegisteredException: The requested service 'Volo.Forms.Web.Pages.Forms.IndexModel' has not been registered. To avoid this exception, either register a component to provide the service, check for service registration using IsRegistered(), or use the ResolveOptional() method to resolve an optional dependency. Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable<Parameter> parameters)

ComponentNotRegisteredException: The requested service 'Volo.Forms.Web.Pages.Forms.IndexModel' has not been registered. To avoid this exception, either register a component to provide the service, check for service registration using IsRegistered(), or use the ResolveOptional() method to resolve an optional dependency. Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable<Parameter> parameters) Volo.Abp.AspNetCore.Mvc.UI.RazorPages.ServiceBasedPageModelActivatorProvider+<>c__DisplayClass0_0.<CreateActivator>b__0(PageContext context) Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DefaultPageModelFactoryProvider+<>c__DisplayClass3_0.<CreateModelFactory>b__0(PageContext pageContext) Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.CreateInstance() Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted) Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeInnerFilterAsync()

  • Steps to reproduce the issue:"
  • Create a new project with ABP Suite 5.3.0-RC2
  • Add the FROMS module using GUI (also tried with CLI)
  • Forms is not present in the Menu. Trying with Path /Forms result in the error

Mikael


7 Answer(s)
  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    I could not reproduce the problem.

    Here are my steps:

    1. Download template with abp new MvcTestQaLast -t app-pro -cs -csf --preview command.
    2. Run MvcTestQaLast.DbMigrator project.
    3. Run abp add-module Volo.Forms command.
    4. Run MvcTestQaLast.Web project.

    Result:

  • User Avatar
    0
    Mikael created

    Hi, I tested again and now the Forms appears in the menu BUT when I publish a form WITHIN a tenant, the following message appears when trying to fill the form:

  • User Avatar
    0
    gterdem created
    Senior .NET Developer

    Hi, I tested again and now the Forms appears in the menu BUT when I publish a form WITHIN a tenant, the following message appears when trying to fill the form:

    This issue is fixed and will be available in the next release.

  • User Avatar
    0
    Dicky.tech@gmail.com created

    5.3 final release ?

  • User Avatar
    0
    gterdem created
    Senior .NET Developer

    5.3 final release ?

    It is under Q&A test right now. There are lots of upgrades related to multi-tenancy. If tests are succeeded, these updates will be released in 5.3 final.

  • User Avatar
    0
    Mikael created

    Hi,

    I can confirm that issue is solved in 5.3.0 RC3.

    Thanks, Mikael

  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    Hi,

    Thanks for the confirmation.

    So, I close the question.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 12, 2024, 07:15