Ends in:
0 DAY
13 HRS
54 MIN
59 SEC
Ends in:
0 D
13 H
54 M
59 S
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


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.

  • 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 ?

  • 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

  • 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.

  • 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
    
  • User Avatar
    0
    prasad.gore created

    Thanks alper, will try this.

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