• Tomáš Pecka's avatar
    webui: reset templateParams when updating GhostNode from special nodes · 4c17bec2
    Tomáš Pecka authored
    We encountered a bug #39 that caused DotConverter to fail sometimes.
    After debugging backend we noticed that DotConverter is trying to be
    evaulated with templateParams 'automaton::Automaton' which was weird.
    (It could be also noticed from the JSONs sent to backends, but I was
    super blind.)
    
    After some messing with the frontend it seemed that DotOutput node (when
    put) on the canvas already has the templateParams set wrong. It seemed
    that this happens only when putting it on the canvas after a node that
    has templateParams specified (like string::Parse).
    
    The solution is therefore to set templateParams to empty before putting
    any special node on canvas.
    
    Closes #39.
    4c17bec2
Name
Last commit
Last update
..
__mocks__ Loading commit data...
json_generators Loading commit data...
nginx Loading commit data...
public Loading commit data...
src Loading commit data...
.gitignore Loading commit data...
.prettierrc Loading commit data...
Dockerfile Loading commit data...
README.md Loading commit data...
aut1.json Loading commit data...
aut2.json Loading commit data...
backup-tslint.json Loading commit data...
images.d.ts Loading commit data...
package-lock.json Loading commit data...
package.json Loading commit data...
tsconfig.json Loading commit data...
typedoc.json Loading commit data...