Skip to content

[bug] generateDocumentOutline from PrintToPDFParams not working #33

@nktnet1

Description

@nktnet1

Unsure where the issue lies, but I can no longer generate PDF documents from HTML with bookmark/index (i.e. document outline).

Originally reported the issue in Gotenberg here:

However, after using git bisect, the bad commit mainly updates chromedp and cdproto:

  • gotenberg/gotenberg@45f04ae
    - github.com/chromedp/cdproto v0.0.0-20250319231242-a755498943c8
    - github.com/chromedp/chromedp v0.13.3
    + github.com/chromedp/cdproto v0.0.0-20250401205909-91afd104e2b8Add commentMore actions
    + github.com/chromedp/chromedp v0.13.5

and comparing the v0.13.3 and v0.13.5 tags for chromdp yielded little results:

So I suspect the issue is to do with cdproto - when comparing the cdproto version hash from gotenberg, we get:

Gotenberg's maintainer (gulien) also suggests that it could potentially be linked to chromedp/chromedp#1551 (comment).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions