-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
AF: traditional-pdf report template generates a "cut-off" PDF report #7885
Comments
Could you check if this happens with traditional-html? |
That one does not have any problem. I'm not able to reproduce the reported issue with the local system (did not try with Docker image yet). |
Thanks. I thought the pdf was basically a conversion of the html, so I thought maybe it was just missing a wrap tag or something |
@thc202 were you able to reproduce the issue with |
No, I don't see that behaviour when using the stable image. Did you try with different PDF viewers? If the problem is not with the PDF viewer run the attached plan (ReportPdf.txt) and share the resulting PDF, e.g.: docker run --rm -v "$(pwd)":/zap/wrk/:rw -it owasp/zap2docker-stable zap.sh -cmd -autorun /zap/wrk/ReportPdf.txt |
@UgniusV could you try the above? |
Same "cut-off" issue with Traditional PDF Report also exists in 2.14.0 and Traditional HTML Report does not suffer from the same issue. I acknowledge the #7885 bug report was raised relating to the Automation Framework, and the issue I'm experiencing whilst identical, is through the app. Happy to raise a separate bug report if preferred... |
No need, it's bound to be the same underlying issue. |
@UgniusV & @bennos1911 could you provide your ZAP info from ZAPs menu Help > Support Info, or from the CLI using the -suppinfo switch? |
It would be great if you could try this: #7885 (comment) |
Here you go... doesn't look to suffer from this issue :-/ |
Does the report that's truncated have long lines somewhere? |
Describe the bug
When using
traditional-pdf
report template with Automation Framework, the generated PDF has sections that are "cut-off". One such example is the description section. Please see the screenshot below:The description is not formatted correctly, and half of it is not visible, resulting in "hard-to-read" reports.
Steps to reproduce the behavior
When using Automation Framework, try to generate the report with
traditional-pdf
template:The resulting report will have sections that are "cut-off", just like in the screenshot above.
Expected behavior
All sections of the PDF report should be visible and properly formatted.
Software versions
Tested on latest "fixed version" Docker image: owasp/zap2docker-stable:2.12.0
Screenshots
Errors from the zap.log file
No response
Additional context
No response
Would you like to help fix this issue?
The text was updated successfully, but these errors were encountered: