Skip to content

[4.x]: Live-Preview link generates token, even there is no update #13746

Closed
@vandres

Description

@vandres

What happened?

Description

I think, this is a weird one. One of our editors complained, that some preview links he can just copy and paste. Others have a token and he has to manually edit them.

This is a CMS page, which works "as expected"

grafik

This is a Blog post, which always adds a token

grafik

Is there any way to configure this? The CMS page entry type was create with an older version of Craft 4.0, if I recall correctly. The Blog post entry type was created with Craft 4.4 or 4.5

Steps to reproduce

  1. I don't kno how to reproduce that

Expected behavior

Links don't add a token, if there is no change

Actual behavior

Links always have a preview token.

Craft CMS version

4.5.5

PHP version

8.2

Operating system and version

CentOS

Database type and version

MariaDB 10.5

Image driver and version

Installed plugins and versions

  "require": {
    "carlcs/craft-footnote": "^3.0",
    "craftcms/cms": "^4.3.8",
    "craftcms/commerce": "^4.1.0",
    "craftcms/commerce-paypal-checkout": "dev-develop",
    "craftcms/contact-form": "^3.0",
    "craftcms/contact-form-honeypot": "^2.0",
    "craftcms/redactor": "^3.0",
    "mmikkel/cp-field-inspect": "^1.4",
    "nystudio107/craft-retour": "^4.1",
    "nystudio107/craft-vite": "^4.0",
    "php-http/curl-client": "^2.2",
    "putyourlightson/craft-campaign": "^2.7",
    "putyourlightson/craft-elements-panel": "^2.0",
    "putyourlightson/craft-sprig": "^2.1",
    "sebastianlenz/linkfield": "^2.1",
    "spatie/craft-ray": "^2.0",
    "spicyweb/craft-neo": "^3.2",
    "ttempleton/craft-nocache": "^3.0",
    "typesense/typesense-php": "^4.8",
    "vaersaagod/geomate": "^2.1.0",
    "verbb/expanded-singles": "^2.0",
    "verbb/field-manager": "^3.0",
    "verbb/tablemaker": "^4.0",
    "verbb/wishlist": "^2.0",
    "vlucas/phpdotenv": "^5.4.0",
    "wbrowar/adminbar": "^3.2",
    "webburospring/craft-spring-pixabay": "^1.2"
  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions