Blog Display Modes Errors - can't change display format

Created on 28 June 2023, over 1 year ago
Updated 29 June 2023, over 1 year ago

Problem/Motivation

When viewing (attempting to change) the display mode of the content type Blog, the following error is thrown:
Got error 'PHP message: Uncaught PHP Exception Drupal\\Component\\Plugin\\Exception\\PluginNotFoundException: "The "vertical_media_teaser_medium" plugin does not exist. Valid plugin IDs for Drupal\\Core\\Layout\\LayoutPluginManager are: bs_1col, bs_1col_stacked, bs_2col, bs_2col_bricked, bs_2col_stacked, bs_3col, bs_3col_bricked, bs_3col_stacked, bs_4col, bs_4col_bricked, bs_4col_stacked, layout_1, layout_2, layout_3, layout_twocol_section, layout_threecol_section, layout_fourcol_section, layout_onecol, layout_twocol, layout_twocol_bricks, layout_threecol_25_50_25, layout_threecol_33_34_33, ds_1col, ds_1col_wrapper, ds_2col, ds_2col_fluid, ds_2col_stacked, ds_2col_stacked_fluid, ds_3col, ds_3col_equal_width, ds_3col_stacked, ds_3col_stacked_fluid, ds_3col_stacked_equal_width, ds_4col, ds_reset, barrio_cardbasic, barrio_cardtopimage, barrio_cardimageoverlay, barrio_cardheaderfooter, barrio_card3stack, barrio_media, barrio_col2-equal, barrio_col2-3-9, barrio_col2-9-3, barrio_col3-equal, barrio_col4-equal, bb_cardbasi...', referer: https://www.mydomain.org/admin/structure/types/manage/varbase_blog/display

Steps to reproduce

Given - that I want to move the medium vertical teaser headline above the image rather than below the image.
When - when I try to edit the display for the blog post. See screenshot of what causes the error
Then - the error noted is thrown.

Proposed resolution

Remaining tasks

  • ✅ File an issue about this project
  • ❌ Addition/Change/Update/Fix to this project
  • ❌ Testing to ensure no regression
  • ❌ Automated unit/functional testing coverage
  • ❌ Developer Documentation support on feature change/addition
  • ❌ User Guide Documentation support on feature change/addition
  • ❌ Accessibility and Readability
  • ❌ Code review from 1 Varbase core team member
  • ❌ Full testing and approval
  • ❌ Credit contributors
  • ❌ Review with the product owner
  • ❌ Update Release Notes and Update Helper on new feature change/addition
  • ❌ Release

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • N/A
🐛 Bug report
Status

Active

Version

10.0

Component

Code

Created by

🇺🇸United States HeneryH

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

Comments & Activities

  • Issue created by @HeneryH
  • 🇯🇴Jordan Rajab Natshah Jordan

    Thanks, Joseph, for reporting
    You are right, Varbase 10 Alpha had a big change:

    • Issue #3370171 : Switched display modes for the Varbase Blog content type to use Card view modes with SDC Card components and UI Patterns layouts
    • Issue #3367498 : Refactored default Card components and patterns with media and Card Style Size integrations
    • Issue #3367867 : Refactored default config templates for View Modes Inventory to use default SDC Card components with patterns

    List of View Modes Inventory

    Impressed cards:

    • Impressed card - xlarge.
    • Impressed card - large.
    • Impressed card - medium.
    • Impressed card - small.
    • Impressed card - xsmall.

    Featured cards:

    • Featured card - xlarge.
    • Featured card - large.
    • Featured card - medium.
    • Featured card - small.
    • Featured card - xsmall.

    Text cards:

    • Text card - large.
    • Text card - medium.
    • Text card - small.

    Overlay cards:

    • Overlay card - xlarge.
    • Overlay card - large.
    • Overlay card - medium.

    Hero cards:

    • Hero card.

    Written In the beginning of the Alpha release
    ✅ Released Varbase 10.0.0-alpha2

    Only for testing!. Do not use in production or live sites yet!.

    No Update/Upgrade path at this time yet!. An update path will be managed when the stable Varbase 10.0.0 goes out!.

    Recommended to rebuild and reinstall for testing only

  • 🇺🇸United States HeneryH

    It is all good, just capturing my experiences. I create a new view for myself and use that. I look forward to learning more about these new card based views and how to migrate towards using them. Thanks.

  • 🇯🇴Jordan Rajab Natshah Jordan

    Migration will follow for sure, when the stable version of VMI 3.0.0 is out.
    Only think of Cards as another word for teasers ( Not sure if Drupal Core will switch to this terminology )
    Which most designers are using it now.

    📌 Refactor default config templates for View Modes Inventory to use default SDC Card components with patterns Fixed

    Revamp the View Modes Inventory (VMI) factory by integrating SDC card components and implementing UI Patterns layouts

Production build 0.71.5 2024