Skip to content

Export and import of repeater field can cause the wrong parent page to be used for repeater items #1792

@Toutouwai

Description

@Toutouwai

Short description of the issue

When a repeater field is exported, one of the values is "parent_id". In the example below the parent_id is 1127.

2023-07-27_151144

If the exported data is used to import the repeater field into a different site where a page with that ID already exists this page is wrongly taken over as the parent page for repeater items.

In the site I imported into, page 1127 is among a set of country pages - it is the page for Latvia. As shown in the screenshot below this page has had its title changed and is now wrongly used to hold repeater items for the "simple_repeater" field.

2023-07-27_151523

Related forum topic: https://processwire.com/talk/topic/28845-repeaters-odd-behaviour/

Setup/Environment

  • ProcessWire version: 3.0.222

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions