getkirby / kirby

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

Writer field content deleted, when renaming page slug #6507

Open FynnZW opened 5 months ago

FynnZW commented 5 months ago

Description

When a page slug is renamed, the last writer field on the page gets it's content deleted. Saving then will lead to content loss (very possible if that field is out of view).

Screenshots

https://github.com/getkirby/kirby/assets/14918334/f76d09a9-8dce-42b8-a9e5-e98dd6a1326e

To reproduce

  1. Rename a page slug on a page with a writer field

Your setup

Kirby Version
4.3.0 (also tested with 4.2.0 and 4.1.0.) Tested with a fresh kirby plainkit and no plugins.

Your system (please complete the following information)

Additional context
Might be connected to #6506

medienbaecker commented 5 months ago

Possibly related to these issues: https://github.com/getkirby/kirby/issues/6351 and https://github.com/getkirby/kirby/issues/5659

We also have a similar issue with the Markdown field: https://github.com/fabianmichael/kirby-markdown-field/issues/164

FynnZW commented 4 months ago

Interesting, really seems to only happen on very fast connections, must be some kind of race condition. I'm also seeing my bug locally using Valet as a dev server (I'll add that in the bug description), doesn't seem to happen on a real production server so far. Edit: Just updated my Valet installation from 4.6.1 to 4.7.1, bug still present

distantnative commented 4 months ago

I can reproduce this. For me it seems to happen so far always to the last writer field on the screen. Is this something you can confirm from your experience too @FynnZW?

FynnZW commented 4 months ago

I can reproduce this. For me it seems to happen so far always to the last writer field on the screen. Is this something you can confirm from your experience too @FynnZW?

Yes, it seems to be always the last writer field.

tan3ot commented 1 month ago

Reminder: this is still a current issue (Kirby 4.4.1) and occurs also in Kirby 3 installations...