Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAQs: Images of the Threat Diagram are cropped in the Report #146

Open
craig-Ayla opened this issue Jul 13, 2020 · 13 comments
Open

FAQs: Images of the Threat Diagram are cropped in the Report #146

craig-Ayla opened this issue Jul 13, 2020 · 13 comments
Assignees

Comments

@craig-Ayla
Copy link

When I go to run the Report on a model (actually a group of models), the Diagrams are cropped so that the reader can't see the entire model.

I'm getting several red, brief, pop-up style warnings when running the Report. They appear to be identical and state "Error: cannot read property 'cells' of undefined".

I'm using version 1.2, on a MacBook Air running 10.14.6

@jgadsden
Copy link
Collaborator

Hello @craig-Ayla - could you send me either the pdf output or the json file? I can have a look
Having said that I understand if you do not want to send your threat models around for everyone to have a look ... a bit of a reveal :-) But if you can repeat it with a generic model that would be great

@jgadsden
Copy link
Collaborator

jgadsden commented Jul 14, 2020

I see the error "Error: cannot read property 'cells' of undefined" when I have a diagram with no elements in it, do you have any diagrams in your threat model that are empty?

@craig-Ayla
Copy link
Author

craig-Ayla commented Jul 14, 2020 via email

@craig-Ayla
Copy link
Author

craig-Ayla commented Jul 14, 2020 via email

@jgadsden
Copy link
Collaborator

OK, thanks @craig-Ayla - it may be platform dependent as well, so I can test your json/pdf on all three platform types when you are ready.

Not sure why you are getting the errors "Error: cannot read property 'cells' of undefined". Do you want to raise a bug issue for this at : https://github.com/OWASP/threat-dragon-core/issues

Thanks again, Jon

@craig-Ayla
Copy link
Author

craig-Ayla commented Jul 14, 2020 via email

@jgadsden
Copy link
Collaborator

jgadsden commented Jul 14, 2020

No problem at all @craig-Ayla , good to hear that the cropping issue is sorted and that the cause of the errors are known. We need a FAQ on this really, because many users would have been in the same situation. Very good that you raised this issue, otherwise we never hear about these problems.

Do you mind if we keep this as a Documentation issue? We need to update the FAQs for this ... possibly on the project page at https://owasp.org/www-project-threat-dragon/

@jgadsden jgadsden self-assigned this Jul 14, 2020
@craig-Ayla
Copy link
Author

craig-Ayla commented Jul 14, 2020 via email

@craig-Ayla
Copy link
Author

craig-Ayla commented Jul 15, 2020 via email

@jgadsden
Copy link
Collaborator

Hello @craig-Ayla - there is a quicker way to swap between diagrams. Exit from the first diagram using the 'X' button (between the grid and the bin buttons) in the drawing pane. This takes you back to the project view, and then click on the next diagram thumbnail.

Again this is good feedback, and I will put it into the FAQs.

Cheers, Jon

@jgadsden jgadsden changed the title Images of the Threat Diagram are cropped in the Report FAQs: Images of the Threat Diagram are cropped in the Report Jul 15, 2020
@craig-Ayla
Copy link
Author

craig-Ayla commented Jul 15, 2020 via email

@jgadsden
Copy link
Collaborator

That is a very good point - it is misleading. I have changed it to 'Close Diagram' in commit:

OWASP/threat-dragon-core@51263f8

which should appear in version 1.3 due in August

@craig-Ayla
Copy link
Author

craig-Ayla commented Jul 16, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants