Skip to content

4.1 backups do not restore completely on 4.5 #983

Description

@marxjohnson

Due to the migration of fields from subplugin tables to surveypro_item, backups created on 4.1 and restored to 4.5 lose these fields. The result looks like the following:

Survey created on 4.1:
Survey created on 4.1, with correctly labelled fields

The same survey upgraded to 4.5:
The Survey on 4.5, with correctly labelled fields

The same survey backed up on 4.1 and restored to 4.5:
The Survey on 4.5, with incorrectly aligned and unlabelled fields

This is because the subplugins' restore code does not take the migrated fields into account, it still attempts to insert them into the plugin table rather than separating them out and update the surveypro_item record.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions