Skip to content

[5.x]: PDF Link Duration doesn't save #4265

@tommysvr

Description

@tommysvr

What happened?

Description

When saving a PDF, the Link Duration is always set to 86400.

This looks to be due to the install migration not adding the column.

Steps to reproduce

  1. Create a PDF
  2. Set the Link Duration to anything other than the default
  3. Save and review the PDF

Expected behavior

Link Duration is set properly

Actual behavior

Link Duration reverts to 86400

Additional Info

Same behaviour exists in Commerce 4.11.0

Craft CMS version

5.9.18

Craft Commerce version

5.6.1

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions