Problem/Motivation

In Drupal 9.0.7

Steps to reproduce

Look in screenshot

Additional error:

#2

Comments

alex.mazaltov created an issue. See original summary.

alex.mazaltov’s picture

I figured out that bartik specified as theme in those yml files and I changed it to my currently used administer theme which is olivero

with those changes I thought that i will be able to successfully enable this module but I was wrong:
here is additional error:

Only local images are allowed.

alex.mazaltov’s picture

Issue summary: View changes
StatusFileSize
new117.46 KB
alex.mazaltov’s picture

Issue summary: View changes
alex.mazaltov’s picture

Issue summary: View changes
jeremylichtman’s picture

Hi @alex.mazaltov,

The config_export issue is a Drupal issue.

See:

https://www.drupal.org/project/drupal/issues/3132759 and
https://www.drupal.org/project/performance_budget/issues/3154389

Looks like it is recent and may be resolved already in 9.0.x-dev, but isn't yet in a release.

As far as the two Bartik blocks go, I'm going to move those two into optional config (done on dev already, not yet in a release for this module).

alex.mazaltov’s picture

Status: Active » Needs review

Thank you for quick update.
I have tried to add mew Project type after module installation.
I got error:

Джерело	https://deal.alefinvest.ml/admin/structure/burndown/project_type/add
Повідомлення	Drupal\Core\Config\Schema\SchemaIncompleteException: Entity type 'Drupal\Core\Config\Entity\ConfigEntityType' is missing 'config_export' definition in its annotation in Drupal\Core\Config\Entity\ConfigEntityBase->toArray() (line 251 of /home/oleksii/Projects/local/Alef-Invest/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php).

Then i added those lines to files:

  • web/modules/contrib/burndown/src/Entity/TaskType.php
  • web/modules/contrib/burndown/src/Entity/ProjectType.php
 *   config_export = {
 *     "id",
 *     "label"
 *   },
jeremylichtman’s picture

Thanks @alex.mazaltov. There were actually two config entities that were missing that annotation (not sure why as all of that code came from Drupal Console).

I have pushed a commit to dev crediting you.

jeremylichtman’s picture

Status: Needs review » Fixed
jeremylichtman’s picture

Status: Fixed » Closed (fixed)