Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exporting stock history: Uncaught TypeError: p is null #1267

Open
cheseo opened this issue Sep 22, 2023 · 0 comments
Open

Exporting stock history: Uncaught TypeError: p is null #1267

cheseo opened this issue Sep 22, 2023 · 0 comments
Labels
Bug needs-triage incoming, please sort

Comments

@cheseo
Copy link

cheseo commented Sep 22, 2023

Bug description

When trying to export stock history, this error shows up in console.

Steps to reproduce

  1. Go to https://demo-git.partkeepr.org/
  2. Click on any part
  3. Go to Stock History
  4. Click Export->Export Grid->CSV
  5. See error on Console

Expected behavior

Expected to see csv output of stock history

Observed behavior

Javascript error:

Uncaught TypeError: p is null
    defaultRenderer https://demo-git.partkeepr.org/js/compiled/extjs.js:22
    exportGrid https://demo-git.partkeepr.org/js/compiled/main2.js:1178
    onCSVExport https://demo-git.partkeepr.org/js/compiled/main2.js:1261
    callback https://demo-git.partkeepr.org/js/compiled/extjs.js:22
    onClick https://demo-git.partkeepr.org/js/compiled/extjs.js:22
    onClick https://demo-git.partkeepr.org/js/compiled/extjs.js:22
    fire https://demo-git.partkeepr.org/js/compiled/extjs.js:22
    fire https://demo-git.partkeepr.org/js/compiled/extjs.js:22
    publish https://demo-git.partkeepr.org/js/compiled/extjs.js:22
    publishDelegatedDomEvent https://demo-git.partkeepr.org/js/compiled/extjs.js:22
    doDelegatedEvent https://demo-git.partkeepr.org/js/compiled/extjs.js:22
    onDelegatedEvent https://demo-git.partkeepr.org/js/compiled/extjs.js:22
    Function https://demo-git.partkeepr.org/js/compiled/extjs.js:22
extjs.js:22:1840992
    defaultRenderer https://demo-git.partkeepr.org/js/compiled/extjs.js:22
    exportGrid https://demo-git.partkeepr.org/js/compiled/main2.js:1178
    onCSVExport https://demo-git.partkeepr.org/js/compiled/main2.js:1261
    callback https://demo-git.partkeepr.org/js/compiled/extjs.js:22
    onClick https://demo-git.partkeepr.org/js/compiled/extjs.js:22
    onClick https://demo-git.partkeepr.org/js/compiled/extjs.js:22
    fire https://demo-git.partkeepr.org/js/compiled/extjs.js:22
    fire https://demo-git.partkeepr.org/js/compiled/extjs.js:22
    publish https://demo-git.partkeepr.org/js/compiled/extjs.js:22
    publishDelegatedDomEvent https://demo-git.partkeepr.org/js/compiled/extjs.js:22
    doDelegatedEvent https://demo-git.partkeepr.org/js/compiled/extjs.js:22
    onDelegatedEvent https://demo-git.partkeepr.org/js/compiled/extjs.js:22
    Function https://demo-git.partkeepr.org/js/compiled/extjs.js:22

This is error on Firefox 102.11.0esr. Chrome has slightly better error reporting, although i don't have it installed now to post

System Information

Partkeepr-demo

  • Reproducible on the demo system: Yes.
@cheseo cheseo added Bug needs-triage incoming, please sort labels Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug needs-triage incoming, please sort
Projects
None yet
Development

No branches or pull requests

1 participant