OWASP / threat-dragon

An open source threat modeling tool from OWASP
https://owasp.org/www-project-threat-dragon/
Apache License 2.0
882 stars 232 forks source link

PDF report generation froze the application #826

Open jgadsden opened 8 months ago

jgadsden commented 8 months ago

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

Expected behaviour: Application should not freeze

Environment:

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."

user29835461 commented 8 months ago

image

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

kunal-511 commented 8 months ago

I would like to work on this issue

SharanRP commented 8 months ago

@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.

jgadsden commented 8 months ago

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

SharanRP commented 8 months ago

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