Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

Issue with updating child pages if NOT in defaultLang #23

@MarvinVrdoljak

Description

@MarvinVrdoljak

Hey there, me and my company are about to release our first big Payload project, but we were running in a bigger issue today:
If you edit your parent page, the child pages are not getting the changes if you are not in your defaultLang.

To reproduce:

Step 1:

Step 2:

  • Create a parent page "Parent Page" in your default language EN
  • Create a child page "Child Page" in your default language EN and choose "Parent Page" for your parent
  • Change parent page name "Parent Page Changed" and go to overview
  • Child page's full title is correct > everything works how it should

Screenshot 2023-06-23 184940

Step 3:

  • Change Language to ES
  • Go to your created parent page and type in (translated) title: "Parent Page ES"
  • Go to your created child page and type in (translated) title: "Child Page ES"
  • Change parent page name "Parent Page ES Changed" and go to overview
  • Child page's full type did not update > You need to update/save child pages manually to get the updated parent title.

Screenshot 2023-06-23 184847

The title is not even the biggest issue. The fullSlug is not updating either. Our client has like 100 pages and they need to save all child pages if they change the slug or title in the parent pages.
We really love payload and we hope that this issue is getting fixed quite soon. Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions