Skip to content

Issue with assets and moving them from matrix to grid #16

Description

@robinsowell

This isn't a bug, because the import shouldn't be destructive and I don't really have a good alternative for how this should work.

But in assets, the exp_assets_selections table has columns for field_id and col_id, which point to the old matrix field id and column id. So while the importer properly populates the grid table, the asset images don't show because that table looks at the wrong field/column.

You can manually change them once you're sure you want to use the grid field by updating to switch the matrix id/column with the grid one.

I'm really not sure there's a good fix for this in the importer, since you don't want it changing those values in the actual import.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions