Open Closed

Blazor Server & ABP Suite Code Gen Issue #1721


User avatar
0
okains created

I am having problems generating an entity with ABP Suite. For me, the project name 'BZServerPlay' is appended to the namespace of the razor file for all ABP Suite generated entities. This causes the build to fail at the point of DB Migration. When I remove the extra .BZServerPlay namespace then everything builds with no problems. Please see the attached screenshots for more details.

The work around is to generate as is, with the exception thrown. Then modify the namespace by removing the last .BZServerPlay from the generated namespace of 'BZServerPlay.Blazor.Pages.BZServerPlay'. , then generate without UI. Then everything works as expected.

But this can only be temporary! Please let me know what the situation is here, if this is a bug please let me know when fixed.

Thanks,

Karim

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: v4.4.0
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace: image attached
  • Steps to reproduce the issue:"


3 Answer(s)
  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    Hi,

    I've tested and confirmed this bug. It will be fixed in next patch.

    I've refunded your question credit. Thank you.

  • User Avatar
    0
    okains created

    Any idea when this fix will be available?

  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    Hi @okains,

    v4.4.1 is on the way, it may be released today or tomorrow.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09