Open Closed

UI Generation with Navigation Properties throws error + downgrading issues #716


User avatar
0
wgodfrey_pernix created
  • ABP Framework version: CLI 4.0.2, SUITE 4.0.2, Project 3.2.1
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Exception message and stack trace: Cannot read the template Volo.Abp.Commercial.SuiteTemplates.Templates.Frontend.Mvc.Page.Partials.Indexjs_NavigationPropertyDropdownOpenEditModalArgs.txt
  • Steps to reproduce the issue:

Hi there ABP support.

I am working on a project that was built in ABP 3.2.1 and relies on those old packages. When I try to generate the UI for an Entity with navigtion properties I receive the following error: Cannot read the template Volo.Abp.Commercial.SuiteTemplates.Templates.Frontend.Mvc.Page.Partials.Indexjs_NavigationPropertyDropdownOpenEditModalArgs.txt

This occurs with all entities with nav. properties. I was advised by a coleague to downgrade ABP suite and use the version that matches the project (3.2.1). So I ran the following commands:

abp suite remove => Successfully remove volo.abp.suite 4.0.2 etc

abp suite install --version 3.2.1 => Installs the most up to date version of ABP suite. According to the forum here, I should be able to install an older version: https://support.abp.io/QA/Questions/287/How-can-I-install-a-specific-version-of-ABP-Suite

dotnet tool install -g volo.abp.suite --version 3.2.1 --add-source https://nuget.abp.io/xxxxxxxxxxxxxx/v3/index.json (with my API key) => After a very long time this returns an error similar to https://support.abp.io/QA/Questions/414/ABP-Suite-install-problem. This command was also mentioned here: https://support.abp.io/QA/Questions/287/How-can-I-install-a-specific-version-of-ABP-Suite

Would you be able to help with any of these issues? Kind Regards William Godfrey


5 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi

    I think the answer can help you: https://support.abp.io/QA/Questions/671/ABP-Suite-throws-Cannot-read-the-template-VoloAbpCommercialSuiteTemplatesTemplatesXXXX

  • User Avatar
    0
    wgodfrey_pernix created

    According to that post: "ABP Suite version and your ABP version must be the same". Would this mean that I'd have to Upgrade the ABP version across the whole project? This is something that we don't plan to do for the moment as it doesn't benifit the project in it's current state and we don't have the time to search for breaking changes.

    If the upgrade within the project is the case would you be able to address the second parts of the question where I'm having issues attempting to install an earlier version of ABP suite?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Can I check it remotely? shiwei.liang@volosoft.com

  • User Avatar
    0
    wgodfrey_pernix created

    Sure I've sent you an Email

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    try use : dotnet tool install -g volo.abp.suite --version 3.2.1 --add-source https://nuget.abp.io/xxxxxxxxxxxxxx/v3/index.json

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