Closed lacyvar closed 1 year ago
Thanks for the report. I have a fix that is working locally in #673 which I expect to merge shortly.
Should be fixed in the latest for the zip releases.
After repeating the steps described above,
at the step "4. Click on the button Export Rules to JSON
",
the result is a small file named "Asa-Rules.json" containing only the text "data:text/plain;charset=utf-8,".
Thus, it seems the function FileSaveAs gets the filename only and an empty fileContent, even the Rules were loaded before in step 3.
Clicking on
Export Rules to JSON
causes an error message on Web client GUI and in the CLI terminal.To Reproduce
Start the Web client GUI:
...\ASA_win_2.3.290> .\asa gui
In the Web client, navigate to Author page:
http://localhost:5000/author
Click on the button
Load Embedded Rules
--> Embedded rules have been loaded successfully.Click on the button
Export Rules to JSON
--> A) The messageAn error has occurred. This application may no longer respond until reloaded. _Reload_
appears in the Web client GUI, B) and this message appears in the CLI terminal:Note: If you click on the
Reload
, the same issue is coming.Expected behavior A working feature of exporting rules to a JSON file (with a possibility of specifying the output file name and location).
System Configuration: