Open Closed

ABP Suite issues #7531


User avatar
0
naeem76 created
  • ABP Framework version: v7.1.0
  • UI Type: MVC
  • Database System: EF Core MySQL
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Trying to add a new field on an entity, depending on project I manually uninstall abp suite version and use/install the abp suite that is based on the project's version in this case 7.1.0

However when trying to add the field, I'm getting the custom code tags but its broken, but even that was added on v8, not sure why its coming now on suite v7.

Only recent change was that I updated to latest yesterday to try out a test migration of the project from 7.1 to 8.2, but I've reverted.

Always used latest versions of CLI, so that version has never been a problem.


10 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello, Please follow the below steps to Uninstall ABP Cli and ABP suite

    dotnet tool uninstall -g volo.abp.cli
    dotnet tool uninstall -g volo.abp.Suite
    

    Delete folder after running uninstall command (C:\Users\MyName\.abp)

    After that to install a particular ABP version hit the below commands on Command prompt

    dotnet tool install -g volo.abp.cli --version 8.2
    

    after this sign in with abp login username -p password

    abp suite install --v 8.2
    

    The above screenshot shows that your ABP cli and ABP suite versions are different, which may be the cause.

    One more thing while updating an application from an older version to a newer version you need to follow the migration guide please check out https://docs.abp.io/en/commercial/latest/migration-guides/index

    Thanks, Anjali

  • User Avatar
    0
    naeem76 created

    lost all my added projects, while trying to add it again

  • User Avatar
    0
    naeem76 created

    Never mind using the file path instead of the folder path solved it.

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello,

    In ABP suite you can add your projects like

    please try.

    Thanks

  • User Avatar
    0
    naeem76 created

    Hi followed all your steps for a clean install, only difference is I installed version 7.1 for CLI and SUITE.

    Still getting same original error

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello,

    could you please try to create a fresh bookstore application with Book entity with properties Name: string and Price:double and check if the same issue persists.

    please let me know or else share logs.

    Thanks

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello,

    I have tried to reproduce the issue with the same version 7.1.0

    but it doesn't show any error

    could you please try to recreate that entity?

    Thanks.

  • User Avatar
    0
    naeem76 created

    New sample project, new entity, still got the same issue.

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello,

    I have done in this way

    Please select the highlighted checkboxes and try again,

    Thanks

  • User Avatar
    0
    naeem76 created

    But that's not even related to the problem. And also it failed because build failed due to errors.

    Anyways a restart solved the issue.

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