OWASP / threat-dragon

An open source threat modeling tool from OWASP

Home Page:https://owasp.org/www-project-threat-dragon/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PDF report generation froze the application

jgadsden opened this issue · comments

Describe the bug:
Generating a PDF report halted the desktop application

Expected behaviour:
Application should not freeze

Environment:

  • Version: 2.1.2
  • Platform: Desktop App
  • OS: Windows
  • Browser: electron

To Reproduce:

Any additional context, screenshots, etc:
@mikkolehtisalo reports "the Windows Server we run the tool on acted differently from ordinary desktop operating systems. I ended up moving the data to Excel/Word and finishing the report by hand."

image

After pressing "Save PDF" the app freezes. No errors on developer console.

I would like to work on this issue

@jgadsden ,Upon attempting to replicate the reported issue, I have observed that the problem appears to be specific to a particular model, namely "demo-threat-model.json." It is noteworthy that other models function correctly without encountering the mentioned issue.

thanks for the investigation @SharanRP , much appreciated
do you want to investigate further, or should I see what I can find? Happy either way

I'm excited to contribute! Please guide me on how to get involved, as I'm eager to learn and help with the project.