Skip to content

Print/Export stops before rendering images in collected pages #2553

@rkwillig

Description

@rkwillig

Describe the bug
When using the Collectives export/print function, the print view opens before all page images are reliably rendered. Text content appears, but one or more images are missing in the print preview and in the printed output.

To Reproduce
Steps to reproduce the behavior:

  1. Open a collective that contains pages with images.
  2. Click on the export/print action.
  3. Wait for the print dialog / print preview to open.
  4. See error: no fully loaded images are present in the preview or final print result.

Expected behavior
All page content, including images, should be fully loaded and rendered before printing starts.

Screenshots

Image

Server details:

  • Collectives app version: 4.4.1]
  • Nextcloud version: 33.0.3
  • PHP Version: 8.3
  • Database: MariaDB 10.5.26-MariaDB-deb11

Client details:

  • OS: Windows
  • Browser: Firefox, Chrome, Edge
  • Browser version: latest versions
  • Device: desktop
Logs

Nextcloud log (data/nextcloud.log)

[anonymized excerpt]

{"reqId":"PAwNZpChomHqkO6I4Hbf","level":2,"time":"2026-06-01T09:29:06+00:00","remoteAddr":"213.157.3.58","user":"<redacted>","app":"no app in context","method":"POST","url":"/index.php/apps/text/session/764348/sync","scriptName":"/index.php","message":"Temporary directory ... is not present or writable","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36 Edg/148.0.0.0","version":"33.0.3.2","data":[]}

{"reqId":"xsd26zGbJ6KsQXjAds3T","level":2,"time":"2026-06-01T09:29:07+00:00","remoteAddr":"213.157.3.58","user":"<redacted>","app":"no app in context","method":"GET","url":"/ocs/v2.php/apps/collectives/api/v1.0/collectives/22/pages","scriptName":"/ocs/v2.php","message":"Temporary directory ... is not present or writable","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36 Edg/148.0.0.0","version":"33.0.3.2","data":[]}

{"reqId":"3fUxedMB9F5DrmK3Ay5F","level":2,"time":"2026-06-01T09:29:09+00:00","remoteAddr":"213.157.3.58","user":"<redacted>","app":"no app in context","method":"GET","url":"/index.php/apps/collectives/_/print/Movatix-digitale-Auftragsabwicklung-22","scriptName":"/index.php","message":"Temporary directory ... is not present or writable","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36 Edg/148.0.0.0","version":"33.0.3.2","data":[]}

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log -> does not show anything suspicious
b) The network log - no 403/404 entries, just 200 and 300 - everything seems to be good.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

Status
🏗️ In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions