Problem/Motivation

After using the config_installer the status report indicates that the entity and field definitions are not up-to-date. Thanks to @andrewsuth for reporting this in IRC.

Steps to reproduce

  1. Install minimal
  2. Export configuration
  3. Use that configuration with the config_installer
  4. Visit the status report

Expected result

Entity/field definitions report as Up to date

Actual result

The six entity types provided by core report as needing to be installed.

Proposed resolution

Call install_core_entity_type_definitions() during installation.

For existing sites the fix is to use drush to run a script to call the function manually.

drush ev "require_once DRUPAL_ROOT . '/core/includes/install.core.inc'; install_core_entity_type_definitions();"

Remaining tasks

User interface changes

None

API changes

None

Data model changes

None

CommentFileSizeAuthor
#2 2636564.2.patch1.54 KBalexpott
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alexpott created an issue. See original summary.

alexpott’s picture

Issue summary: View changes
Status: Active » Needs review
FileSize
1.54 KB
alexpott’s picture

Issue summary: View changes
alexpott’s picture

Issue summary: View changes
andrewsuth’s picture

Issue summary: View changes

@alexpott I reported this issue in IRC, thanks for taking the time to write this up and even supply a patch.

We'll be testing it tomorrow.

netamorfose’s picture

@alexpott I have extensively tested the patch provided in #2 and can't reproduce anymore the bug. Thank you for on providing a solution so fast.

I have tested the patch on a vanilla bare minimal installation and also with our set of configurations, in both cases everything was fine.

alexpott’s picture

Status: Needs review » Reviewed & tested by the community

I'll take #6 as an rtbc then :)

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed.

  • alexpott committed a16cc9a on 8.x-1.x
    Issue #2636564 by alexpott, andrewsuth, netamorfose: Core entity type...

Status: Fixed » Closed (fixed)

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