Open Closed

Tenant/OrganizationUnit extra properties which are navigation properties cause frontend error afer update to ABP 8.0.2 #6582


User avatar
0
engineering@climatecamp.io created

After updating to ABP 8.0.2, extra properties for Tenant and OrganizationUnit entities defined in the ModuleExtensionConfigurator file which need to be selected by lookup as described here: https://docs.abp.io/en/abp/latest/Module-Entity-Extensions#navigation-properties-foreign-keys result in the following frontend error: No provider for NgControl found in NodeInjector. The relevant fields are not visible in the frontend form.

The error also occurs in a fresh minimal project.

  • ABP Framework version: v8.0.2
  • UI Type: Angular
  • Database System: EF Core
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace: NG0201: No provider for NgControl found in NodeInjector
  • Steps to reproduce the issue:
    1. Add a navigation property to Tenant or OrganizationUnit entity in ModuleExtensionConfigurator file (lookup url)
    2. Navigate to frontend (Lepton X) page to add/edit Tenant/OrganizationUnit

3 Answer(s)
  • User Avatar
    0
    sinan created
    Support Team Angular Developer

    hi, we have created an pull request abot this problem. i have refunded your question credit.

  • User Avatar
    0
    engineering@climatecamp.io created

    Thank you.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Fixed by https://github.com/abpframework/abp/pull/18962

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