Skip to content
This repository was archived by the owner on Aug 9, 2022. It is now read-only.
This repository was archived by the owner on Aug 9, 2022. It is now read-only.

Generating report directly from dashboard don't work #355

@iget-master

Description

@iget-master

Steps to reproduce:

  1. Open a dashboard. Select any relative date like "last 7 days"
  2. Click on Reporting
  3. Click on Download PDF
  4. Nothing happens

Investigating the issue, found that an error is logged at browser console:

opendistroReportsKibana.plugin.js:1 Uncaught TypeError: Cannot read property 'diff' of undefined
at getTimeFieldsFromUrl (opendistroReportsKibana.plugin.js:1)
at HTMLButtonElement. (opendistroReportsKibana.plugin.js:1)
at HTMLDocument.dispatch (kbn-ui-shared-deps.js:404)
at HTMLDocument.m.handle (kbn-ui-shared-deps.js:404)

Note that if using an absolute date, it outputs the PDF but shows a lot of error alerts:

rison decoder error: missing ':'
Seems to happens because and bad formatted url: elastic/kibana#75957

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions