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

Multiple FlowCharts On a Dashboard #48

Closed
Gyetko opened this issue Oct 3, 2019 · 2 comments
Closed

Multiple FlowCharts On a Dashboard #48

Gyetko opened this issue Oct 3, 2019 · 2 comments
Labels
bug Something isn't working Fixed

Comments

@Gyetko
Copy link

Gyetko commented Oct 3, 2019

When creating and saving multiple FlowCharts on a Dashboard, sometimes on the first time of saving, both Flowcharts show the same content. Valid in Version 0.3.0 and 0.4.0

To reproduce:

  1. Add a panel to a dashboard, configure it to be a Flowchart, open the draw io editor clean everything out, and add a component, give it some text like "Hello" and save. So far so good.
  2. Add a second panel to the same dashboard, configure it to be a Flowchart, open the draw io editor clean everything out, and add a component, give it some text like "World" and save.
  3. Sometimes when saving the second instance for the first time, both instances of the FlowCharting component will have one component and both say "World". So it looks like your serializer back to JSON has problems sometimes when saving back to find the proper instance of the FlowCharting component. So what I do to work around this is to copy the json XML config for the first instance to my clipboard or external editor, then create the second one. If the problem happens, then I paste the Json xml back into the dashboard json for the first instance and things work fine. After that, editing either one works fine for ever more. Interesting bug. :) Hope you fix this one. :)
@algenty
Copy link
Owner

algenty commented Oct 3, 2019

yes Interesting bug. I'll try it ;)

@algenty algenty added the bug Something isn't working label Oct 3, 2019
@algenty
Copy link
Owner

algenty commented Oct 5, 2019

Fixed in 0.5.0 SNAPSHOT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Fixed
Projects
None yet
Development

No branches or pull requests

2 participants