com-pas / compas-open-scd

A substation configuration description editor for projects using SCL IEC 61850-6 Edition 2 or greater
https://openscd.github.io
Apache License 2.0
12 stars 3 forks source link

Broken Save as to local file #194

Closed JakobVogelsang closed 1 year ago

JakobVogelsang commented 1 year ago

Describe the bug Save as plugin does not export files to locally only to the database

To Reproduce

  1. Open some file
  2. Go to Save as plugin
  3. Click save to file
  4. Nothing happens

Additional context Browser log says removeChild on Node ...

dlabordus commented 1 year ago

Also found the bug Thursday, should be fixed already.

I got the error when saving file to CoMPAS caused a error. And next try to save it again. Because the labels are already replaced in the document, the list should have been reset even if save fails.