Base solution for your next web application
Open Closed

entityTypeHistoryModal error in Angular #9063


User avatar
0
-bitman created

Hello ANZ Team,

I just upgraded to the latest release 8.8 using Angular+Core project. I tried creating a simple entity using my existing project after the upgrade as well as a clean install of 8.8 but both result to this error below.

ERROR in src/app/admin/app/countries/countries.component.ts:99:14 - error TS2339: Property 'entityTypeHistoryModal' does not exist on type 'CountriesComponent'. 99 this.entityTypeHistoryModal.show({ ~~~~~~~~~~~~~~~~~~~~~~

The difference is that I ticked the Create Master-Detail Page checkbox from the Power Tools dialog window, which I believe is the feature Added Non-Modal CRUD pages generation to Power Tools and I wanted to try it out.

Am I doing something wrong?


5 Answer(s)
  • User Avatar
    0
    -bitman created

    Hello ANZ Team,

    I also found out that unticking the Track Entity History check box from the Power Tools resolves the error I mentioned here but I have build many entities with this option ticked and never encountered such error. Any advice?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @-bitman,

    Could you create an issue on GitHub ? This might be a bug.

    Thanks,

  • User Avatar
    0
    -bitman created

    Done @ismcagdas

  • User Avatar
    0
    -bitman created

    By the way @ismcagdas, do you mind suggesting a work around on this issue so I can move forward with my project please?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @-bitman

    We will offer a workaround in the GitHub issue.

    Thanks,