getkirby / kirby

Kirby's core application folder
https://getkirby.com
Other
1.31k stars 168 forks source link

[Panel] Changing page url removes writer field #6351

Closed bensanlau closed 7 months ago

bensanlau commented 7 months ago

Description

https://github.com/getkirby/kirby/assets/53568912/164a38d7-419c-4194-9266-7ad05924603e

Both fields (Standfirst and Main) are writer fields, but only the second (last?) field gets affected.

However, when I revert the changes, my content returns, but the Page Title & URL remains changed.

Your setup

Kirby Version
4.1.2

afbora commented 7 months ago

I can't reproduce the issue. Do you have any hook or plugin?

bastianallgeier commented 7 months ago

This is a duplicate of https://github.com/getkirby/kirby/issues/5659

@bensanlau how do you run Kirby? MAMP, Herd, built-in PHP server, etc.?

bensanlau commented 7 months ago

@bastianallgeier It's built-in PHP server on macOS. Running php 8.2.15 macOS 14.1.1 Chrome 122.0.6261.129

Plugins installed: KQL and Kirby Headless

bastianallgeier commented 7 months ago

Ok, it really seems to be connected to the PHP server in some weird way. Do you have something else available to test it locally. We can really recommend Herd or DDEV, but MAMP works well too.

tan3ot commented 4 months ago

I can reproduce this issue.

The last writer field (which is not empty) gets emptied by changing the url. When using blueprint columns this happens for every column.

Weird: When using tabs sometimes only the last field of the first column gets emptied.

In local dev environment and on web server, too. With a current project as well es a fresh starterkit.

Kirby 4.2.0 PHP 8.3 Plugins (current project):

Screenvideo 1: Columns

https://github.com/getkirby/kirby/assets/37336796/951fdda4-35cc-489d-9d8b-cf36184d2a63

Screenvideo 2: Tabs (second tab without columns)

https://github.com/getkirby/kirby/assets/37336796/59da7d18-da8a-482c-a621-da2cb832bb13