When installing a profile that doesn't sheep with the right configuration of seven theme for blocks, we end up with administration pages missing tabs.

One way to replicate the problem is to remove these files from profiles/standard:

  • block.block.seven_breadcrumbs.yml
  • block.block.seven_content.yml
  • block.block.seven_help.yml
  • block.block.seven_local_actions.yml
  • block.block.seven_messages.yml
  • block.block.seven_page_title.yml
  • block.block.seven_primary_local_tasks.yml
  • block.block.seven_secondary_local_tasks.yml

This will get the same result as installing any custom profile missing these files.

After installation, for example, in admin/contents, we have missing blocks for primary tabs:
Admin content page with missing blocks
It's missing the primary tabs (e.g. Files), the breadcrumb and the "Add content" button.

This is an old issue. Not sure if it was already reported and discussed here.

Comments

dxvargas created an issue. See original summary.

dxvargas’s picture

Status: Active » Needs review
StatusFileSize
new4.13 KB

Having the config files in theme seven will avoid this error.
Submitting patch 3099503-2-move-config.patch

dxvargas’s picture

StatusFileSize
new2.65 KB

Try with different path in patch.

Status: Needs review » Needs work

The last submitted patch, 3: 3099503-3-move-config.patch, failed testing. View results

dxvargas’s picture

Status: Needs work » Needs review
StatusFileSize
new2.67 KB

There is a dependency from help... better make the configs optional.

Status: Needs review » Needs work

The last submitted patch, 5: 3099503-4-move-config.patch, failed testing. View results

dieterholvoet’s picture

Any updates on this? Patch looks good to me.

dxvargas’s picture

Patch is failing to pass because of a Migrate block test, didn't have the chance to analyze this error.
Apart from that it should do the trick. Hope to have the chance to fix the patch, or maybe someone can do it!

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

pameeela’s picture

Status: Needs work » Closed (duplicate)
Issue tags: +Bug Smash Initiative
Related issues: +#2632132: Move Claro standard profile block config into the Claro theme

@dxvargas thanks for logging and for the patches! This is a duplicate of #2632132: Move Claro standard profile block config into the Claro theme so I'm closing this but added you to the other issue for credit once the fix gets in.