Problem/Motivation

On install of the bricks_default_blocks submodule, Drupal 10 throws an error because Bartik is gone, and the install is looking for Bartik.

I didn't try the dev version of this module since it looked like it was released at the same time as the last alpha.

Steps to reproduce

* Create a new Drupal 10 instance.
* Try to install bricks_default_blocks.

You will get this error:

The website encountered an unexpected error. Please try again later.

Drupal\Core\Extension\Exception\UnknownExtensionException: The theme bartik does not exist. in Drupal\Core\Extension\ExtensionList->getPathname() (line 522 of core/lib/Drupal/Core/Extension/ExtensionList.php).

Drupal\Core\Extension\ExtensionList->getPath() (Line: 20)
bricks_default_blocks_install()
call_user_func_array() (Line: 400)
Drupal\Core\Extension\ModuleHandler->invoke() (Line: 349)
Drupal\Core\Extension\ModuleInstaller->install() (Line: 83)
Drupal\Core\ProxyClass\Extension\ModuleInstaller->install() (Line: 175)
Drupal\system\Form\ModulesListConfirmForm->submitForm()
call_user_func_array() (Line: 114)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers() (Line: 52)
Drupal\Core\Form\FormSubmitter->doSubmitForm() (Line: 595)
Drupal\Core\Form\FormBuilder->processForm() (Line: 323)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 73)
Drupal\Core\Controller\FormController->getContentResult()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 163)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 74)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 686)
Drupal\Core\DrupalKernel->handle() (Line: 19)

Though, I do think the install at least partially worked. The module shows as enabled, and there is some block configuration available. I'm new to Bricks so I don't know if anything is missing...

Proposed resolution

Don't have a dependency on Bartik.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Issue fork bricks-3355146

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

jerrac created an issue. See original summary.

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

sakthi_dev’s picture

Please review. As Bartik is moved to contrib module added that as a dependency.

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

rjjakes’s picture

Status: Active » Fixed

I've merged this to 2.x

It will included in the next alpha-3

Status: Fixed » Closed (fixed)

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