Skip to content

[Bug]: 'PDF conversion' flow does not properly update PDF #51978

@D592VN5

Description

@D592VN5

⚠️ This issue respects the following points: ⚠️

Bug description

All latest as of this day versions

Nextcloud 31.0.2
'NextCloud office' app 8.6.4
'Collaborative tags' app 1.21.1
'Workflow external scripts' app 2.0.0
'Automated PDF conversion' app 2.0.0 (LibreOffice installed on the server)
'PDF viewer' app 4.0.0
Manual changes to files in #51927
Collabora Online server (NOT built-in CODE)
NextCloud Encryption enabled

Problem: PDF not correctly updated in 'overwrite existing PDF' mode with 'PDF conversion' flow.

  1. Created flow for PDF creation/update upon 'file created' and 'file updated' events with the following settings

Note - event type does not matter here, the error is reproduced with other trigger events (except for 'tag assigned', which does not work anyway - see #51849 )

Image

  1. Created ODT file with content 'Lorem ipsum'

  2. Cron job executed. PDF is generated by the flow, with 'Lorem ipsum' content.

Image

Image

  1. Modified ODT (added 'Mod'), saved changes

Image

Image

  1. Cron job executed. PDF file was somehow changed, but there are NO visible changes to the content, the original 'Lorem ipsum' is still there

Image

Image

If PDF is downloaded, it also 'Lorem ipsum' version.

  1. Then, on PDF file, going to Open Details > Versions > clicking on 'Initial version' or 'Current version' or 'Compare to current version' nothing happens - black screen, infinite loader

Image

  1. Then, on PDF file, going to Open Details > Versions > 'Current version' - Download. Downloaded version is 'MOD Lorem ipsum'

Image

So somehow PDF is updated inside, but not written properly (cache, DB, etc, no idea), so end-user still sees old PDFs, when PDF is accessed from regular UIs.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions