Open Closed

ABP Suite + Angular + Update entity #7101


User avatar
0
jasenfici@gmail.com created
  • 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.


5 Answer(s)
  • User Avatar
    0
    jasenfici@gmail.com created

    Continuing to dig into this, somewhere along the way Abp suite created the .Web folder (not sure where) because the only thing in that folder was 1 directory of the Razor page modals to editing this record.

    After I delete the .web project, it didn't try going in there anymore, but somewhere in AbpSuite it generates .Web project folders and files for an Angular app.

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi, I'll check this asap.

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    I am unable to reproduce the problem. I created an application with v8.1.1 in ABP Suite, with angular as the UI option and the seperate authentication server option selected, but I could successfully generate CRUD pages without having a problem.

    Is it possible that your ABP CLI and ABP Suite versions are not the same?

  • User Avatar
    0
    jasenfici@gmail.com created

    No, they are the same. I mean, all I had to do was delete the .Web folder, but somewhere along the way Abp Suite DEFINITELY created it and put a few files in there along the way. Then on future updates failed because it thought there was a valid Web project there.

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    No, they are the same. I mean, all I had to do was delete the .Web folder, but somewhere along the way Abp Suite DEFINITELY created it and put a few files in there along the way. Then on future updates failed because it thought there was a valid Web project there.

    I'm still unable to reproduce this problem. When a create an angular project with the seperate authentication server option selected, there is not a .Web folder being created and it successfully generated CRUD pages. I'll try to understand the reason from the code and fix it. FYI.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11