Open iti-pawel-wach opened 5 months ago
I can also reproduce problems on my environment.
I've confirmed related source code. and it seems occurred when following condition met.
IPage
object is get from cached pools.GotoAsync
with same page (but pointing different anchor(#
))There is a document when response returns null
.
https://playwright.dev/docs/api/class-page#page-goto
The method either throws an error or returns a main resource response. The only exceptions are navigation to about:blank or navigation to the same URL with a different hash, which would succeed and return null.
Describe the bug Hi, I have strange problem with generating PDF when TOC.md contains some links with bookmarks. It works locally on my laptop but when I'm doing the same on Windows Server PDF generation fails.
PDF generation turned off - no error. In generated TOC.html links are working. I've tried TOC.yml instead TOC.md - the same error. Locally on Windows 11 works, but on Windows server - it fails.
To Reproduce Steps to reproduce the behavior:
Create file "article1.md" with following content:
Create "TOC.md" with following content:
Run docfx with pdf generation
docfx.json:
Full log: log.txt
Expected behavior PDF should be generated without any errors/warnings.
Context (please complete the following information):
Additional context
I noticed - when I remove last line in TOC.md - this one:
Everythings works and there is no error:
Adding any next link with bookmark causes error but adding link without bookmark works. So it looks like there is some problem above 6 links with bookmarks or maybe there is limitation I don't know. Could someone check this issue or tell me how to resolve/workaround that?