geerlingguy / jeffgeerling-com

Drupal Codebase for JeffGeerling.com
https://www.jeffgeerling.com
GNU General Public License v2.0
40 stars 2 forks source link

Error during upgrade_d7_field_formatter_settings migration about colorbox and textformatter_list #12

Closed geerlingguy closed 4 years ago

geerlingguy commented 4 years ago
 [notice] Processed 4 items (4 created, 0 updated, 0 failed, 0 ignored) - done with 'upgrade_d7_view_modes'
 [notice] Field discovery failed for Drupal core version 7. Did this site have the CCK or Field module installed? Error: No database connection configured for source plugin d7_field_instance
  7/30 [======>---------------------]  23% [error]  The "colorbox" plugin does not exist. Valid plugin IDs for Drupal\Core\Field\FormatterPluginManager are: comment_default, comment_username, comment_permalink, datetime_plain, datetime_custom, datetime_time_ago, datetime_default, file_default, file_rss_enclosure, file_extension, file_filemime, file_uri, file_url_plain, file_video, file_audio, file_table, file_size, file_link, image, image_url, link, link_separate, list_key, list_default, entity_reference_rss_category, text_default, text_summary_or_trimmed, text_trimmed, user_name, author, entity_reference_entity_view, timestamp, entity_reference_entity_id, entity_reference_label, boolean, number_decimal, language, basic_string, string, timestamp_ago, uri_link, number_integer, number_unformatted, email_mailto (/var/www/html/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php:53) 
 14/30 [=============>--------------]  46% [error]  The "textformatter_list" plugin does not exist. Valid plugin IDs for Drupal\Core\Field\FormatterPluginManager are: comment_default, comment_username, comment_permalink, datetime_plain, datetime_custom, datetime_time_ago, datetime_default, file_default, file_rss_enclosure, file_extension, file_filemime, file_uri, file_url_plain, file_video, file_audio, file_table, file_size, file_link, image, image_url, link, link_separate, list_key, list_default, entity_reference_rss_category, text_default, text_summary_or_trimmed, text_trimmed, user_name, author, entity_reference_entity_view, timestamp, entity_reference_entity_id, entity_reference_label, boolean, number_decimal, language, basic_string, string, timestamp_ago, uri_link, number_integer, number_unformatted, email_mailto (/var/www/html/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php:53) 
 [notice] Processed 30 items (28 created, 0 updated, 2 failed, 0 ignored) - done with 'upgrade_d7_field_formatter_settings'
geerlingguy commented 4 years ago

For colorbox, I could install the Drupal 8 version of colorbox.

For textformatter_list, I could install List Formatter — see Port Text list formatter to Drupal 8... but it has no official release, so I'd be building off an unsupported commit :/

geerlingguy commented 4 years ago

For List Formatter, it seems like there may never be a supported version. Might be easier to migrate the multi-line values into a single text field or something :/

geerlingguy commented 4 years ago

I thought this was related to #8 but alas, it is not.

I've decided to just drop Colorbox and List Formatter.

For the former, I set the images to link to their full size selves. Maybe I'll clean that up post-migration, maybe not. For the latter, I just copied the formatted text off each page and dumped it in the Project's Description field. In both cases I deleted the formatter from the content type.

I don't know if I'll continue giving 'Projects' much prominence on the main page anymore, anyways. I might just make the Blog page the landing page? Or something... but this issue can be closed now.