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

Can't duplicate pages in Canvas #27713

Closed
cqliu1 opened this issue Dec 21, 2018 · 2 comments · Fixed by #27581
Closed

Can't duplicate pages in Canvas #27713

cqliu1 opened this issue Dec 21, 2018 · 2 comments · Fixed by #27581
Assignees
Labels
blocker bug Fixes for quality problems that affect the customer experience Feature:Canvas PR sent Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas v6.6.0

Comments

@cqliu1
Copy link
Contributor

cqliu1 commented Dec 21, 2018

Kibana version: master (commit e5fa6e1)

Elasticsearch version: 7.0.0 snapshot

Server OS version: MacOS 10.14.2

Browser version: Google Chrome Version 71.0.3578.98

Browser OS version: MacOS 10.14.2

Describe the bug:

Page cloning stopped working. When you try to duplicate a page in a Canvas workpad, it crashes Kibana.

Steps to reproduce:

  1. Open page manager
  2. Hover over a page
  3. Click the duplicate button

Expected behavior:

Page should be duplicated.

Screenshots (if relevant):
screen shot 2018-12-21 at 11 58 55 am

Errors in browser console (if relevant):

window_error_handler.js:75 TypeError: Cannot read property 'id' of undefined
    at clone_subgraphs.js:20
    at Array.map (<anonymous>)
    at cloneSubgraphs (clone_subgraphs.js:19)
    at clonePage (pages.js:61)
    at pages.js:99
    at eval (handleAction.js:70)
    at eval (index.js:13)
    at Array.reduce (<anonymous>)
    at eval (index.js:12)
    at eval (handleActions.js:48)
    at eval (index.js:32)
    at Array.reduce (<anonymous>)
    at eval (index.js:31)
    at combination (redux.js:441)
    at eval (index.js:32)
    at Array.reduce (<anonymous>)

Provide logs and/or server output (if relevant):

Any additional context:

@cqliu1 cqliu1 added bug Fixes for quality problems that affect the customer experience blocker Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas labels Dec 21, 2018
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-canvas

@cqliu1 cqliu1 changed the title Can Can't duplicate pages in Canvas Dec 21, 2018
@monfera monfera self-assigned this Dec 21, 2018
@monfera
Copy link
Contributor

monfera commented Dec 21, 2018

Thanks Catherine, fixed in #27581
Note: the issue happens with the templates and potentially, preexisting workpads, but doesn't happen with new workpads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker bug Fixes for quality problems that affect the customer experience Feature:Canvas PR sent Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas v6.6.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants