Missing labels on content/site-settings

Created on 9 March 2021, over 3 years ago
Updated 31 July 2023, 11 months ago

I'm using this module for the first time β€” it's really great, but I'm seeing some inconsistencies on the the content/site-settings page. I'm not sure if I did something wrong during configuration, or if it's a bug. See attached image.

In a nutshell: Some items don't have names under the name column. Other items have groups that don't match.

I'd changed the names of some groups, and moved settings types between groups as I was setting things up and getting a feel for how the module worked, but I assume that is supported. I've done the usual clearing of caches. Any direction or insight would be greatly appreciated!

πŸ’¬ Support request
Status

Postponed: needs info

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada mrogers

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¨πŸ‡¦Canada fengtan Montreal, Canada

    I ran into this as well and ran this script to set the missing labels:

        $bundles = \Drupal::service('entity_type.bundle.info')->getBundleInfo('site_setting_entity');
        foreach ($bundles as $bundle_machine_name => $bundle_value) {
          $this->database->update('site_setting_entity_field_data')
            ->fields(['name' => $bundle_value['label']])
            ->condition('type', $bundle_machine_name)
            ->isNull('name')
            ->execute();
        }
    
Production build 0.69.0 2024