Updated: Comment #0

Problem/Motivation

at #1966436: Default *content* entity languages are not set for entities created with the API we found out that there are some issues with default language assignment to content entities when created via the API.
Just to be sure we should also have some tests which make sure that config entities are created in the default language of the website when created via the API

Proposed resolution

- Write Test

Remaining tasks

- Write Test

User interface changes

None

API changes

None

Comments

Gábor Hojtsy’s picture

Issue tags: +D8MI, +language-config
Gábor Hojtsy’s picture

Status: Needs work » Active

No patch.

Gábor Hojtsy’s picture

Priority: Normal » Major

BTW what is actually happening is the entities do not get a default language and instead are created without language. A config file (entity or not) is assumed to be in the site's default language when dealt with. This may be an issue when the side default language is changed and the configs should keep knowing their language of creation.

jhedstrom’s picture

Category: Bug report » Task

Reclassifying as a 'task'.

plach’s picture

Issue tags: +Needs tests

Version: 8.0.x-dev » 8.1.x-dev

Drupal 8.0.6 was released on April 6 and is the final bugfix release for the Drupal 8.0.x series. Drupal 8.0.x will not receive any further development aside from security fixes. Drupal 8.1.0-rc1 is now available and sites should prepare to update to 8.1.0.

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

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.9 was released on September 7 and is the final bugfix release for the Drupal 8.1.x series. Drupal 8.1.x will not receive any further development aside from security fixes. Drupal 8.2.0-rc1 is now available and sites should prepare to upgrade to 8.2.0.

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

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.6 was released on February 1, 2017 and is the final full bugfix release for the Drupal 8.2.x series. Drupal 8.2.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.3.0 on April 5, 2017. (Drupal 8.3.0-alpha1 is available for testing.)

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