Can't save pages in multi-language set-up after uploading a new image

Set-Up
I have migrated an existing site from Kirby-3 to Kirby-4

Scenario

  1. I upload an image to a page in the default language and save the changes. The image is added, the save works.
  2. I change to the second language. The page shows unsaved changes. Why? The new image is not here. I save the changes. The save works.
  3. I go back to the default page. The page shows again unsaved changes. The new image is still here.

Summary: the editor is stuck with one language always showing unsaved changes. No matter in which language he saves the page. Although the content has been saved correctly.

I have attached a video illustrating this steps (The video starts after I have uploaded the new image to the default language page).
Anyone ideas what could cause this bug?

Thanks, Matt
Dec-13-2023 19-36-45

I just tried to reproduce it with a fresh Starterkit and couldn’t. Are you using the latest Kirby 4 version?

Could you post your blueprint for the page please?

Hi textnixe,

yes, I am using the lasted Kirby. I could notice this error only on one specific page. The other ones seem to behave as expected (although I was not able to test every page as the content is rather large).

Attached the blueprint:

title: Plattenspieler
pages: false

columns:
  left:
    width: 2/3
    sections:

      content:
        type: fields
        fields:
          name:
            label: Produktname
            type:  text
          hero:
            label: Hero Bild
            type: files
            multiple: false
          layout:
            label: Produktbeschreibung und Aufmacher
            type: layout
            layouts:
              - "1/1"
              - "1/2, 1/2"
            fieldsets:
              - heading
              - text
              image:
                extends: blocks/image
                query: page.images.template("productimage")
                fields:
                  gallery:
                    label: Bild automatisch zu einer Bildergallerie hinzufügen?
                    type: toggle
                    width: 1/2
                    default: true          
          features:
            label: Ausstattungsmerkmale
            type: structure
            fields:
              featurecategory:
                label: Ausstattungskategorie
                type: select
                options:
                  auflagegewicht: Auflagegewicht
                  chassis: Chassis
                  lager: Lager
                  plattenteller: Plattenteller
                  sonstiges: Sonstiges
                  tonarm: Tonarm
                  tonabnehmer: Tonabnehmersystem
                  tonabnehmerbasis: Tonabnehmerbasis
                  netzteil: Netzteil
                  sonderausstattung: Sonderausstattung
                width: 1/3
              feature:
                label: Ausstattung
                type: text
                width: 1/3
              featurevariant:
                label: Ausstattungsvariante
                type: select
                default: variant0
                options:
                  variant0: Grundausstattung
                  variant1: Ausstattung 1
                  variant2: Ausstattung 2
                  variant3: Ausstattung 3
                  variant4: Ausstattung 4
          featurestext:
            label: Hinweistext für Ausstattungsmerkmale (optional)
            type: textarea
            default: 'Für Fragen zur Kombinierbarkeit fragen Sie Ihren Transrotor-Händler lorem ipsum sed amicam...'
          dimensions:
            label: Masse & Gewicht
            type: structure
            fields:
              dimensioncategory:
                label: Kategorie
                type: select
                options:
                  breite: Breite
                  hoehe: Höhe
                  tiefe: Tiefe
                  gewicht: Gewicht
                width: 1/2
              dimension:
                label: Wert
                type: text
                width: 1/2
          specs:
            label: Datenblatt
            type:  files

  right:
    width: 1/3
    sections:
      gallery:
        type: fields
        fields:
          gallery:
            label: Bildergalerie
            type: files        
            layout: cards
            size: x-small
            help: 'Das erste Bild wird als Aufmacher für die Bildergalerie verwendet.'
            uploads: productimage

I also tested with the blueprint, and still cannot reproduce this. Cannot see much in your video…

Tested with both the hero field and the BilderGalerie field.

Is that on your local server or on a remote server?

On a remote server.
I tried deleting the .lock file and replace the product.de.txt and product.en.txt via FTP, but the error still appears.

For me this bug is the fine as long as it stays a singular phenomenon.

Have you also tried to clear the site/cache and site/sessions folders, log out and remove all browser storage data, browser cache?