Base solution for your next web application
Open Closed

Track entity history doesn't work #9535


User avatar
0
kasem created

Hi

Enabling entity history tracking isn't possible due to this:

Please note that I already followed your instructions to enable entity history uncommenting the lines in ..EntityFrameworkCoreModule and changed this as well "Configuration.EntityHistory.IsEnabled = true;"

I use your latest version of ASPNetCore+Angular (v9.1.0-rc.1)


8 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @kasem

    Could you try this with latest stable version ?

    Thanks,

  • User Avatar
    0
    kasem created

    Ok. will try and update you

    Thanks

  • User Avatar
    0
    kasem created

    Although nothing was changed from RC1 to stable except version number it's magically fixed now!

    How can I manually track history for entities I created before?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    You can simply add them to EntityHistoryHelper.cs in the Core project.

  • User Avatar
    0
    staffing created

    I am also facing the same issue. I am using the latest version "9.2.0-rc.1".

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @staffing

    Is your project Angular or jQuery ? I will create a bug report according to your response.

    Thanks,

  • User Avatar
    0
    staffing created

    Angular,

    I downgraded to 9.1 and now I can use this feature. But I think there is an issue with latest '9.2.0-rc.1'.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @staffing

    Thank you for sharing this. Probably the problem is related to RC version postfix. I think it will be fixed when 9.2.0 final version is released. However, we will also fix this problem for RC versions. You can follow https://github.com/aspnetzero/aspnet-zero-core/issues/3529