Problem/Motivation

When a Quicktabs instance is saved with the Style dropdown set to -None- (the default), drush config:inspect --detail --only-error reports a schema validation error on the options.quick_tabs.style key:

------------------------------------------------------------------- --------- ------------- ----------------------------------------------- 
  Key                                                                 Status    Validatable   Data                                           
 ------------------------------------------------------------------- --------- ------------- ----------------------------------------------- 
  quicktabs.quicktabs_instance.demo_table                             Correct   93%           1 errors                                       
   quicktabs.quicktabs_instance.demo_table:options.quick_tabs.style   Correct   Validatable   The value you selected is not a valid choice.  
 ------------------------------------------------------------------- --------- ------------- ----------------------------------------------- 

Steps to reproduce

  1. Install the quicktabs module and the config_inspector module.
  2. Go to /admin/structure/quicktabs/add.
  3. Fill the required name and machine-name fields.
  4. Leave the Style dropdown at -None- (the default).
  5. Save the instance.
  6. Run: drush config:inspect --detail --only-error

Environment

  • Drupal: 11.x
  • PHP: 8.3
  • Quicktabs: 4.0.x
  • Verified with: drush config:inspect --detail --only-error and Config Inspector UI

Issue fork quicktabs-3606105

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

dkmishra created an issue. See original summary.

joelpittet made their first commit to this issue’s fork.

dkmishra’s picture

Thanks for fixing this!

I tested the latest changes from commit adfcb552 by running drush config:inspect --detail --only-error and I can confirm that the schema validation issue is now fixed.

Tested and RTBC +1.

joelpittet’s picture

Status: Active » Fixed

Thank you for reporting it, I wouldn’t have realized!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • joelpittet committed 94e04d98 on 4.0.x
    fix: #3606105 Config schema validation error: options.quick_tabs.style...
joelpittet’s picture

Wrong issue