Open Closed

ABP SUITE CRUD Page Generator - Navigation Properties #798


User avatar
0
prasad.gore created
  • ABP Framework version: v4.1.0
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue: Followed exact steps :** https://docs.abp.io/en/commercial/latest/abp-suite/generating-crud-page#navigation-properties** Build the solution successfully. Click "Save and Generate", getting below exception.

In solution, it's adding below xxxxxx characters in CreateModal.cshtml.cs & EditModal.cshtml.cs by it's own. If I remove it and build it then it builds successfully. Then if I again click "Save and Generate", getting same above exception even after tried lot of times.

Thanks - Prasad.Gore

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

6 Answer(s)
  • User Avatar
    0
    alper created
    Support Team Director

    this is fixed in the next version. workaround: you can delete xxxx in your template or in the generated code.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    prasad.gore created

    Thanks alper But the workaround is not working because even if I remove xxxxx and build it then it builds successfully. Then if I again click "Save and Generate", it's again adding xxxxxx characters in CreateModal.cshtml.cs & EditModal.cshtml.cs by it's own, so getting same below exception again & again. Need to wait for next version ?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    alper created
    Support Team Director

    can you check that you have successfully saved the template? be aware you don't do that in the generated code it's in the code generation template

    edit this template Frontend.Mvc.Page.Partials.editcshtml_cs_LookupDropdownOnGet.txt

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    prasad.gore created

    Couldn't find any file like Frontend.Mvc.Page.Partials.editcshtmlcsLookupDropdownOnGet.txt anywhere in the solution. Issue still persists.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    alper created
    Support Team Director

    @prasad.gore sorry for my late response. I might have missed your notification. is it possible for you to switch to the latest preview

    dotnet tool update -g Volo.Abp.Cli --version 4.2.0-rc.1
    abp suite update --preview
    
    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    prasad.gore created

    Thanks alper, will try this.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.