Open Closed

Possible-bug-on-Entity-Filters-6802---No-paging-in-angular-works-after-upgrading-to-805 #6879


User avatar
0
0365-Service created

Possible bug on Entity Filters #6802Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, and please first use the search on the homepage. Provide us with the following info:

  • ABP Framework version: v8.0.5
  • UI Type: Angular
  • Database System: EF Core SQL Server
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

I was told that 8.05 would fix the paging issue, but now no paging worksPaging Not Working. Please see attached video

When you click on a pager button it does not even hit the back end api


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

    Hi,

    Sorry for that.

    Could you check the package.json to make sure the version is ~8.0.5 Try removing the node_modules and yarn.lock as well.

  • User Avatar
    0
    0365-Service created

    I did all the above and it is still not working.

    Here is the contents of package.json

    {
      "name": "Cloud",
      "version": "1.0.0",
      "scripts": {
        "ng": "ng",
        "start": "ng serve --open",
        "build": "ng build",
        "build:prod": "ng build --configuration production",
        "watch": "ng build --watch --configuration development",
        "test": "ng test",
        "lint": "ng lint"
      },
      "private": true,
      "dependencies": {
        "@abp/ng.components": "~8.0.5",
        "@abp/ng.core": "~8.0.5",
        "@abp/ng.oauth": "~8.0.5",
        "@abp/ng.setting-management": "~8.0.5",
        "@abp/ng.theme.shared": "~8.0.5",
        "@angular/animations": "~17.0.0",
        "@angular/common": "~17.0.0",
        "@angular/compiler": "~17.0.0",
        "@angular/core": "~17.0.0",
        "@angular/forms": "~17.0.0",
        "@angular/localize": "~17.0.0",
        "@angular/platform-browser": "~17.0.0",
        "@angular/platform-browser-dynamic": "~17.0.0",
        "@angular/router": "~17.0.0",
        "@volo/abp.commercial.ng.ui": "~8.0.5",
        "@volo/abp.ng.account": "~8.0.5",
        "@volo/abp.ng.audit-logging": "~8.0.5",
        "@volo/abp.ng.gdpr": "~8.0.5",
        "@volo/abp.ng.identity": "~8.0.5",
        "@volo/abp.ng.language-management": "~8.0.5",
        "@volo/abp.ng.openiddictpro": "~8.0.5",
        "@volo/abp.ng.saas": "~8.0.5",
        "@volo/abp.ng.text-template-management": "~8.0.5",
        "@volosoft/abp.ng.theme.lepton-x": "~3.0.1",
        "rxjs": "~7.8.0",
        "tslib": "^2.0.0",
        "zone.js": "~0.14.0"
      },
      "devDependencies": {
        "@abp/ng.schematics": "~8.0.5",
        "@angular-devkit/build-angular": "~17.0.0",
        "@angular-eslint/builder": "~17.0.0",
        "@angular-eslint/eslint-plugin": "~17.0.0",
        "@angular-eslint/eslint-plugin-template": "~17.0.0",
        "@angular-eslint/schematics": "~17.0.0",
        "@angular-eslint/template-parser": "~17.0.0",
        "@angular/cli": "~17.0.0",
        "@angular/compiler-cli": "~17.0.0",
        "@angular/language-service": "~17.0.0",
        "@types/jasmine": "~3.6.0",
        "@types/node": "^12.0.0",
        "@typescript-eslint/eslint-plugin": "6.9.1",
        "@typescript-eslint/parser": "6.9.1",
        "eslint": "^8.0.0",
        "jasmine-core": "~4.0.0",
        "karma": "~6.3.0",
        "karma-chrome-launcher": "~3.1.0",
        "karma-coverage": "~2.1.0",
        "karma-jasmine": "~4.0.0",
        "karma-jasmine-html-reporter": "^1.0.0",
        "ng-packagr": "~17.0.0",
        "typescript": "~5.2.0"
      }
    }
    
  • User Avatar
    0
    0365-Service created

    I need urgent assistance please. None of the paging in any of my pages are working.

    I tried all the above and even tried with yarn and npm, but no paging works

  • User Avatar
    0
    sinan created
    Support Team Angular Developer

    Hi, i have create an new project, everything is same with your package.json and it works correctly.

    Please remove all cache files and upload packages again.

    And it might be related with your changes or configurations, i dont know what kind of changes blockes pagination but before all please remove all caches and try again if it not works we will find another solution

  • User Avatar
    0
    0365-Service created

    Are you talking about browser cache?

  • User Avatar
    0
    sinan created
    Support Team Angular Developer

    yarn.lock, package.lock.json, node_modules everything

  • User Avatar
    0
    0365-Service created

    I have done that a couple of times. I deleted all of the lock files and I deleted the node_modules folder as well.

    I did that and tried yarn install as well as npm install, but the issue remains.

  • User Avatar
    0
    0365-Service created

    Did you try paging on an entity generated by abp suite or did you simply test the paging on the built in modules?

  • User Avatar
    0
    0365-Service created

    I even created a new project and copied the ng_modules folder over to my current solution, but still it does not work. Please test on an entity that was generated by abp suite

  • User Avatar
    0
    sinan created
    Support Team Angular Developer

    I will test it, thanks

  • User Avatar
    0
    0365-Service created

    Any status update yet

  • User Avatar
    0
    sinan created
    Support Team Angular Developer

    Hi, i have produced the problem when i generate with abp suite.

    I am refunding your question credit.

    We will fix this asap. You will be notified

  • User Avatar
    0
    sinan created
    Support Team Angular Developer

    As a workaround, if you add this line of code below to ngx-datatable it will work.

    <ngx-datatable
      [offset]="list.page"
      (page)="list.page = $event.offset"
    > 
    
  • User Avatar
    0
    0365-Service created

    What do i do with the finder dialogues. They also do not work and i cannot get to their code:

    <abp-lookup-input cid="region-lookup" formControlName="regionId" displayNameProp="description" lookupNameProp="displayName" [getFn]="service.getRegionLookup" [editingData]="service.selected?.region"></abp-lookup-input>

  • User Avatar
    0
    sinan created
    Support Team Angular Developer

    Sadly i couldn't find a workaround for this.

    We will fix this in 8.1.

  • User Avatar
    0
    0365-Service created

    When will this be released?

  • User Avatar
    0
    sinan created
    Support Team Angular Developer

    Atleast 1 week later.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11