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

Attempting to export a PDF with blank routes throws an error #26

Closed
jmccollum-woolpert opened this issue Dec 1, 2022 · 0 comments · Fixed by #30
Closed

Attempting to export a PDF with blank routes throws an error #26

jmccollum-woolpert opened this issue Dec 1, 2022 · 0 comments · Fixed by #30

Comments

@jmccollum-woolpert
Copy link
Contributor

Attempting to export a PDF for a route with no shipments and no start or end location throws an unhelpful error to the user. Variations of the following can appear depending on the exact issue:

Error generating report
Li.path.map is not a function

Expectation:

  • Empty routes should either be filtered out of export completely or properly supported with a blank table and map
  • A more helpful error message for the user should be provided if there's an error during export.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant