Problem/Motivation

  • The following missing schema is reported by drush config:inspect:
    Key Status Validatable Data
    ------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------- ------------- ----------
    cloud_dashboard.settings No schema
    cloud_dashboard.settings:cloud.settings No schema NOT ✅❓
    cloud_dashboard.settings:cloud.settings._core No schema NOT ✅❓
    cloud_dashboard.settings:cloud.settings._core.default_config_hash No schema NOT ✅❓
    cloud_dashboard.settings:cloud.settings.cloud_custom_c3_css_url No schema NOT ✅❓
    cloud_dashboard.settings:cloud.settings.cloud_custom_c3_js_url No schema NOT ✅❓
    cloud_dashboard.settings:cloud.settings.cloud_custom_chart_js_url No schema NOT ✅❓
    cloud_dashboard.settings:cloud.settings.cloud_custom_d3_horizon_chart_js_url No schema NOT ✅❓
    cloud_dashboard.settings:cloud.settings.cloud_custom_d3_js_url No schema NOT ✅❓
    cloud_dashboard.settings:cloud.settings.cloud_custom_datatables_js_url No schema NOT ✅❓
    cloud_dashboard.settings:cloud.settings.cloud_custom_location_map_json_url No schema NOT ✅❓
    cloud_dashboard.settings:cloud.settings.cloud_custom_select2_css_url No schema NOT ✅❓
    cloud_dashboard.settings:cloud.settings.cloud_custom_select2_js_url No schema NOT ✅❓
    cloud_dashboard.settings:cloud.settings.cloud_default_location_map_json_url No schema NOT ✅❓
    cloud_dashboard.settings:cloud.settings.cloud_enable_queue_cleanup No schema NOT ✅❓
    cloud_dashboard.settings:cloud.settings.cloud_location_geocoder_plugin No schema NOT ✅❓
    cloud_dashboard.settings:cloud.settings.cloud_spa_callback_url No schema NOT ✅❓
    cloud_dashboard.settings:cloud.settings.cloud_spa_key_directory No schema NOT ✅❓
    cloud_dashboard.settings:cloud.settings.cloud_use_default_urls No schema NOT ✅❓
    cloud_dashboard.settings:cloud.settings.cloud_use_spa No schema NOT ✅❓
    cloud_dashboard.settings:cloud.settings.cloud_view_expose_items_per_page No schema NOT ✅❓
    cloud_dashboard.settings:cloud.settings.cloud_view_items_per_page No schema NOT ✅❓

Issue fork cloud-3392432

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

yas created an issue. See original summary.

abhishek_gupta1’s picture

Assigned: Unassigned » abhishek_gupta1
abhishek_gupta1’s picture

Assigned: abhishek_gupta1 » Unassigned
Status: Active » Needs review

@yas, created Schema, Please review the MR

yas’s picture

Status: Needs review » Needs work

@abhishek_virasat

Thank you for your contribution. Unfortunately, I don't see any MR. Can you please make sure of creating the MR? Thanks

yas’s picture

Title: Fix the missing schema » Fix the missing schema (drupal/cloud_dashboard)

abhishek_gupta1’s picture

Status: Needs work » Needs review

@yas, sorry there was some issue at my end that's why MR was not raised, please check now and let me know if anything else needed.

yas’s picture

Status: Needs review » Needs work

@abhishek_virasat

Thank you for the MR. I ran drush config:inspect --detail --only-error and found the following errors:

$ drush config:inspect --detail --only-error
 Legend for Data: 
  ✅❓  → Correct primitive type, detailed validation impossible.
  ✅✅  → Correct primitive type, passed all validation constraints.
 ----------------------------------------------- ------------------------------------------------------ ------------- ---------- 
  Key                                             Status                                                 Validatable   Data      
 ----------------------------------------------- ------------------------------------------------------ ------------- ---------- 
  cloud_dashboard.settings:oauth2_callback_uri    missing schema                                                                 
  cloud_dashboard.settings:oauth2_client_id       missing schema                                                                 
  cloud_dashboard.settings:json_api_server_uri    missing schema                                                                 
  cloud_dashboard.settings:marker_icon_uri        missing schema                                                                 
  cloud_dashboard.settings:map_geojson_uri        missing schema                                                                 
  cloud_dashboard.settings:location_map_type      missing schema                                                                 
  cloud_dashboard.settings:location_map_latitud   missing schema                                                                 
  e                                                                                                                              
  cloud_dashboard.settings:location_map_longitu   missing schema                                                                 
  de                                                                                                                             
  cloud_dashboard.settings:location_map_zoom_ra   missing schema                                                                 
  te                                                                                                                             
  cloud_dashboard.settings:location_map_country   missing schema                                                                 
  cloud_dashboard.settings:location_map_city      missing schema                                                                 
  cloud_dashboard.settings:location_map_zoom_le   missing schema                                                                 
  vel                                                                                                                            
  cloud_dashboard.settings:cloud_dashboard_oaut   missing schema                                                                 
  h2_callback_uri                                                                                                                
  cloud_dashboard.settings:cloud_dashboard_oaut   missing schema                                                                 
  h2_client_id                                                                                                                   
  cloud_dashboard.settings:cloud_dashboard_json   missing schema                                                                 
  _api_server_uri                                                                                                                
  cloud_dashboard.settings:cloud_dashboard_mark   missing schema                                                                 
  er_icon_uri                                                                                                                    
  cloud_dashboard.settings:cloud_dashboard_map_   missing schema                                                                 
  geojson_uri                                                                                                                    
  cloud_dashboard.settings:cloud_dashboard_loca   missing schema                                                                 
  tion_map_config_uri                                                                                                            
  cloud_dashboard.settings:cloud_dashboard_loca   missing schema                                                                 
  tion_map_country                                                                                                               
  cloud_dashboard.settings:cloud_dashboard_loca   missing schema                                                                 
  tion_map_city                                                                                                                  
  cloud_dashboard.settings:cloud_dashboard_loca   missing schema                                                                 
  tion_map_latitude                                                                                                              
  cloud_dashboard.settings:cloud_dashboard_loca   missing schema                                                                 
  tion_map_longitude                                                                                                             
  cloud_dashboard.settings:cloud_dashboard_loca   missing schema                                                                 
  tion_map_zoom_level                                                                                                            
  cloud_dashboard.settings:cloud_dashboard_bypa   missing schema                                                                 
  ss_animation                                                                                                                   
 ----------------------------------------------- ------------------------------------------------------ ------------- ---------- 

Please validate your patch by using https://www.drupal.org/project/config_inspector
The command should be drush config:inspect --detail --only-error

Thanks

xiaohua guan’s picture

Assigned: Unassigned » xiaohua guan
xiaohua guan’s picture

Status: Needs work » Needs review

@yas

Please take a look. Thanks.

FYI, the settings like oauth2_callback_uri, which don't begin with cloud_dashboard_, are garbage. You should reinstall cloud_dashboard module.

yas’s picture

Status: Needs review » Reviewed & tested by the community

@xiaohua-guan

Thank you for the fix. I applied the patch and ran the command drush config:inspect. I confirmed the patch fixed the errors. I'll merge the patch to 5.x and 6.x, and close this issue as Fixed.

  • yas committed fafb4782 on 5.x
    Issue #3392432 by yas, Xiaohua Guan: Fix the missing schema (drupal/...
yas’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.