Ends in:
2 DAYS
6 HRS
31 MIN
28 SEC
Ends in:
2 D
6 H
31 M
28 S
Open Closed

How to upgrade into latest version of Jquery Datatables.net version -2.0.6 #7147


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

In our application, we are using LeptonXPro theme. We want to upgrade JQuery Datatable.net version to 2.0.6

Please suggest how to do that


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

    Hello,

    please check similar issue https://support.abp.io/QA/Questions/6468/Jquery-Datatablesnet#answer-3a0fff3c-dec5-9238-e0d3-ab77701e950f

    thanks

  • User Avatar
    0
    rohit.jadhav created

    Getting error

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello,

    Please delete yarn.lock file and then run the command yarn and after that abp install-libs.

    thanks

  • User Avatar
    0
    rohit.jadhav created

    Still same error -

    Just a note => I am using LeptonX theme with source code not a nuget package

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello,

    once check with the solution provided here https://stackoverflow.com/questions/76125429/how-to-fix-this-abpexception-could-not-find-the-bundle-file-libs-abp-core-abp if still issue persist then check for logs and share logs if any.

    thanks

  • User Avatar
    0
    rohit.jadhav created

    [13:18:05 INF] Request starting HTTP/2 GET https://www.sustainium.com/Account/Login?ReturnUrl=%2FPurchased%2520Gases%2F2024%2F3a12502f-07dd-561c-3efa-f986411d3768 - null null [13:18:05 DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessRequestContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ResolveRequestUri. [13:18:05 DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ResolveRequestUri. [13:18:05 DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+InferEndpointType. [13:18:05 DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by Volo.Abp.Account.Web.Pages.Account.OpenIddictImpersonateInferEndpointType. [13:18:05 DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateHostHeader. [13:18:05 DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ValidateHostHeader. [13:18:05 DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.OpenIddictValidationHandlers+EvaluateValidatedTokens. [13:18:05 DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ExtractAccessTokenFromAuthorizationHeader. [13:18:05 DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ExtractAccessTokenFromBodyForm. [13:18:05 DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ExtractAccessTokenFromQueryString. [13:18:05 DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.OpenIddictValidationHandlers+ValidateRequiredTokens. [13:18:05 DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was marked as rejected by OpenIddict.Validation.OpenIddictValidationHandlers+ValidateRequiredTokens. [13:18:05 DBG] AuthenticationScheme: OpenIddict.Validation.AspNetCore was not authenticated. [13:18:05 INF] Executing endpoint '/Account/Login' [13:18:05 INF] Route matched with {page = "/Account/Login", area = "", action = "", controller = ""}. Executing page /Account/Login [13:18:05 INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy [13:18:05 INF] Executing handler method Volo.Abp.Account.Public.Web.Pages.Account.LoginModel.OnGetAsync - ModelState is Valid [13:18:05 INF] Executed handler method OnGetAsync, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult. [13:18:05 DBG] Added bundle 'LeptonX.Global' to the page in 0.69 ms. [13:18:05 ERR] Could not find the bundle file '/libs/datatables.net/js/jquery.dataTables.js' for the bundle 'LeptonX.Global'! [13:18:05 DBG] Added bundle 'LeptonX.Global' to the page in 2.45 ms. [13:18:05 DBG] Added bundle 'Volo.Abp.Account.Public.Web.Pages.Account.LoginModel' to the page in 0.14 ms. [13:18:05 INF] Executed page /Account/Login in 16.7218ms [13:18:05 INF] Executed endpoint '/Account/Login' [13:18:05 INF] Request finished HTTP/2 GET https://www.sustainium.com/Account/Login?ReturnUrl=%2FPurchased%2520Gases%2F2024%2F3a12502f-07dd-561c-3efa-f986411d3768 - 200 null text/html; charset=utf-8 62.6861ms [13:18:05 INF] Request starting HTTP/2 GET https://www.sustainium.com/Themes/LeptonX/Global/side-menu/libs/bootstrap-datepicker/css/bootstrap-datepicker.min.css?_v=638506640840420462 - null null [13:18:05 INF] Request starting HTTP/2 GET https://www.sustainium.com/Themes/LeptonX/Global/side-menu/libs/bootstrap-icons/font/bootstrap-icons.css?_v=638506640840420462 - null null [13:18:05 INF] Request starting HTTP/2 GET https://www.sustainium.com/Themes/LeptonX/Global/side-menu/css/js-bundle.css?_v=638506640840420462 - null null [13:18:05 INF] The file /Themes/LeptonX/Global/side-menu/libs/bootstrap-icons/font/bootstrap-icons.css was not modified [13:18:05 INF] The file /Themes/LeptonX/Global/side-menu/libs/bootstrap-datepicker/css/bootstrap-datepicker.min.css was not modified [13:18:05 INF] Request starting HTTP/2 GET https://www.sustainium.com/Themes/LeptonX/Global/side-menu/css/layout-bundle.css?_v=638506640840420462 - null null [13:18:05 INF] Request finished HTTP/2 GET https://www.sustainium.com/Themes/LeptonX/Global/side-menu/libs/bootstrap-icons/font/bootstrap-icons.css?_v=638506640840420462 - 304 null text/css 2.1495ms [13:18:05 INF] Request starting HTTP/2 GET https://www.sustainium.com/Themes/LeptonX/Global/side-menu/css/abp-bundle.css?_v=638506640840420462 - null null [13:18:05 INF] Request finished HTTP/2 GET https://www.sustainium.com/Themes/LeptonX/Global/side-menu/libs/bootstrap-datepicker/css/bootstrap-datepicker.min.css?_v=638506640840420462 - 304 null text/css 3.3456ms [13:18:05 INF] Request starting HTTP/2 GET https://www.sustainium.com/Themes/LeptonX/Global/side-menu/css/font-bundle.css?_v=638506640840420462 - null null [13:18:05 INF] The file /Themes/LeptonX/Global/side-menu/css/js-bundle.css was not modified [13:18:05 INF] Request finished HTTP/2 GET https://www.sustainium.com/Themes/LeptonX/Global/side-menu/css/js-bundle.css?_v=638506640840420462 - 304 null text/css 2.3844ms [13:18:05 INF] The file /Themes/LeptonX/Global/side-menu/css/font-bundle.css was not modified [13:18:05 INF] The file /Themes/LeptonX/Global/side-menu/css/layout-bundle.css was not modified [13:18:05 INF] The file /Themes/LeptonX/Global/side-menu/css/abp-bundle.css was not modified [13:18:05 INF] Request finished HTTP/2 GET https://www.sustainium.com/Themes/LeptonX/Global/side-menu/css/layout-bundle.css?_v=638506640840420462 - 304 null text/css 3.4ms [13:18:05 INF] Request finished HTTP/2 GET https://www.sustainium.com/Themes/LeptonX/Global/side-menu/css/font-bundle.css?_v=638506640840420462 - 304 null text/css 3.2799ms [13:18:05 INF] Request starting HTTP/2 GET https://www.sustainium.com/Themes/LeptonX/Global/side-menu/css/light.css - null null [13:18:05 INF] Request starting HTTP/2 GET https://www.sustainium.com/Themes/LeptonX/Global/side-menu/css/bootstrap-light.css - null null [13:18:05 INF] Request finished HTTP/2 GET https://www.sustainium.com/Themes/LeptonX/Global/side-menu/css/abp-bundle.css?_v=638506640840420462 - 304 null text/css 3.4427ms [13:18:05 INF] Request starting HTTP/2 GET https://www.sustainium.com/Abp/ApplicationConfigurationScript - null null [13:18:05 INF] Request starting HTTP/2 GET https://www.sustainium.com/client-proxies/account-proxy.js?_v=638506641038186625 - null null [13:18:05 DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessRequestContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ResolveRequestUri. [13:18:05 INF] The file /Themes/LeptonX/Global/side-menu/css/light.css was not modified [13:18:05 INF] Request finished HTTP/2 GET https://www.sustainium.com/Themes/LeptonX/Global/side-menu/css/light.css - 304 null text/css 0.4902ms [13:18:05 INF] Request starting HTTP/2 GET https://www.sustainium.com/Pages/Account/AuthorityDelegation/account-authority-delegation-global.js?_v=638506640967496478 - null null [13:18:05 INF] The file /Themes/LeptonX/Global/side-menu/css/bootstrap-light.css was not modified [13:18:05 DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ResolveRequestUri. [13:18:05 INF] Request finished HTTP/2 GET https://www.sustainium.com/Themes/LeptonX/Global/side-menu/css/bootstrap-light.css - 304 null text/css 0.6153ms [13:18:05 INF] Request starting HTTP/2 GET https://www.sustainium.com/Pages/Account/LinkUsers/account-link-user-global.js?_v=638506640967496478 - null null [13:18:05 DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+InferEndpointType. [13:18:05 DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by Volo.Abp.Account.Web.Pages.Account.OpenIddictImpersonateInferEndpointType. [13:18:05 DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateHostHeader. [13:18:05 INF] The file /Pages/Account/LinkUsers/account-link-user-global.js was not modified [13:18:05 INF] Request starting HTTP/2 GET https://www.sustainium.com/Themes/LeptonX/Global/side-menu/js/lepton-x.bundle.min.js?_v=638506640840420462 - null null [13:18:05 INF] Request finished HTTP/2 GET https://www.sustainium.com/Pages/Account/LinkUsers/account-link-user-global.js?_v=638506640967496478 - 304 null application/javascript 13.5162ms [13:18:05 INF] Request starting HTTP/2 GET https://www.sustainium.com/Themes/LeptonX/Global/scripts/style-initializer.js?_v=638506640840420462 - null null [13:18:05 INF] The file /Pages/Account/AuthorityDelegation/account-authority-delegation-global.js was not modified [13:18:05 INF] The file /client-proxies/account-proxy.js was not modified [13:18:05 INF] Request finished HTTP/2 GET https://www.sustainium.com/Pages/Account/AuthorityDelegation/account-authority-delegation-global.js?_v=638506640967496478 - 304 null application/javascript 13.8044ms [13:18:05 INF] Request starting HTTP/2 GET https://www.sustainium.com/Abp/ApplicationLocalizationScript?cultureName=en - null null [13:18:05 INF] Request finished HTTP/2 GET https://www.sustainium.com/client-proxies/account-proxy.js?_v=638506641038186625 - 304 null application/javascript 14.067ms [13:18:05 INF] Request starting HTTP/2 GET https://www.sustainium.com/_framework/aspnetcore-browser-refresh.js - null null [13:18:05 DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessRequestContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ResolveRequestUri. [13:18:05 DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ResolveRequestUri. [13:18:05 DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+InferEndpointType. [13:18:05 DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by Volo.Abp.Account.Web.Pages.Account.OpenIddictImpersonateInferEndpointType. [13:18:05 DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateHostHeader. [13:18:05 INF] The file /Themes/LeptonX/Global/scripts/style-initializer.js was not modified [13:18:05 INF] Request finished HTTP/2 GET https://www.sustainium.com/Themes/LeptonX/Global/scripts/style-initializer.js?_v=638506640840420462 - 304 null application/javascript 0.7286ms [13:18:05 INF] Request starting HTTP/2 GET https://www.sustainium.com/Abp/ServiceProxyScript - null null [13:18:05 INF] The file /Themes/LeptonX/Global/side-menu/js/lepton-x.bundle.min.js was not modified [13:18:05 INF] Request finished HTTP/2 GET https://www.sustainium.com/Themes/LeptonX/Global/side-menu/js/lepton-x.bundle.min.js?_v=638506640840420462 - 304 null application/javascript 9.3305ms [13:18:05 DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessRequestContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ResolveRequestUri. [13:18:05 INF] Request starting HTTP/2 GET https://www.sustainium.com/Pages/Account/Login.js?_v=638506641038186625 - null null [13:18:05 DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ResolveRequestUri. [13:18:05 DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+InferEndpointType. [13:18:05 INF] Request finished HTTP/2 GET https://www.sustainium.com/_framework/aspnetcore-browser-refresh.js - 200 13764 application/javascript; charset=utf-8 9.7068ms [13:18:05 DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by Volo.Abp.Account.Web.Pages.Account.OpenIddictImpersonateInferEndpointType. [13:18:05 DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateHostHeader. [13:18:05 INF] The file /Pages/Account/Login.js was not modified [13:18:05 INF] Request finished HTTP/2 GET https://www.sustainium.com/Pages/Account/Login.js?_v=638506641038186625 - 304 null application/javascript 3.9056ms [13:18:05 DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ValidateHostHeader. [13:18:05 DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.OpenIddictValidationHandlers+EvaluateValidatedTokens. [13:18:05 DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ExtractAccessTokenFromAuthorizationHeader. [13:18:05 DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ExtractAccessTokenFromBodyForm. [13:18:05 DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ExtractAccessTokenFromQueryString. [13:18:05 DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.OpenIddictValidationHandlers+ValidateRequiredTokens. [13:18:05 DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was marked as rejected by OpenIddict.Validation.OpenIddictValidationHandlers+ValidateRequiredTokens. [13:18:05 DBG] AuthenticationScheme: OpenIddict.Validation.AspNetCore was not authenticated. [13:18:05 INF] Request starting HTTP/2 GET https://www.sustainium.com/_vs/browserLink - null null

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello,

    please try to remove node_modules folder and yarn.lock file.

    open command prompt at MyProject.web and run command yarn or yarn install and then try to run abp install-libs

    if still issue persist then please share sample demo project to support@abp.io

    thanks

  • User Avatar
    0
    rohit.jadhav created

    Do we have support for 2.0.6 version in abp 8.0.1

    { "version": "1.0.0", "name": "my-app", "private": true, "dependencies": { "@volo/abp.aspnetcore.mvc.ui.theme.leptonx": "~3.0.0", "@volo/saas": "~8.0.1", "@volo/audit-logging": "~8.0.1", "@volo/identity": "~8.0.1", "@volo/account": "~8.0.1", "@volo/language-management": "~8.0.1" }, "resolutions": { "jquery": "3.7.1", "datatables.net": "2.0.6" } }

    when i do abp install-libs then jquery.datatables.net library is getting removed from libs directory

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello,

    I think "2.0.6" is not supporting try with "~1.11.4" and run abp install-libs

    thanks

  • User Avatar
    0
    rohit.jadhav created

    I am sending sample code project on email

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello,

    I have checked the datatable.net versions >=2.* are not supported by ABP 8.0.1 version you have to use <2 versions then only it will work.

    Thanks

  • User Avatar
    0
    rohit.jadhav created

    which version of abp should I use to get support of datatable.net version >=2.* ?

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello,

    you can check versions over here https://www.npmjs.com/package/datatables.net?activeTab=versions use less than version 2.0

    Thanks

  • User Avatar
    0
    rohit.jadhav created

    Anjali, I am asking about abp framework version, which ABP version should I use so I will get datatables.net 2.X version along with that.

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello,

    sorry its my bad but as per my observation the latest stable version of ABP i.e. 8.1.1 supports '2.0.3' version of datatable.net. Currently 2.0.6 is not supported by ABP

    thanks

Made with ❤️ on ABP v9.1.0-preview. Updated on December 02, 2024, 12:35