Views defined in Features don't migrate

Created on 25 January 2024, 5 months ago
Updated 13 February 2024, 4 months ago

Problem/Motivation

Views that are defined in Features don't migrate -- because they aren't in the source site database. Same issue with field groups:
✨ Drupal 7 field groups defined in Features field_group.inc files will not migrate. Active

Steps to reproduce

Proposed resolution

I'm submitting this as a "Documentation" issue because, I think, the only thing to do is (if maintainers agree) add a note for users.

All I had to do to migrate "Feature-ized" views was make an edit to those views. (It wasn't enough to simply save the view, but I made meaningless edits to each view description, and that did the trick.) I wrote it up here:
https://www.drupal.org/forum/support/upgrading-drupal/2024-01-24/upgradi... →

Anyway, I think it would be great to just add a note to the project page, such as:

<h2>Drupal 7 sites using Features</h2>
<p>Views that are defined in Features aren't in the source site database (views_view table), and therefore can't be picked up by this migration tool.  To migrate such Views, you'll need to make an edit to each view (for example, add some text to each View description).  As you do this, you'll see the "Total" count increase in the d7_views_migration migration.</p>

(Maybe that's overkill, just throwing some words out there for consideration and to make it easier on maintainers!)

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

1.2

Component

Documentation

Created by

🇺🇸United States alison

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024