Node content types when imported are currently not marked as custom and marked as own by the configuration module in the DB. This shows its head in the UI by not being able to delete the content type.

One of the main goals of Configuration module is to not own the code and hence when we import we should make sure these configurations are set the same as if the user had created them via the UI.

There are a few fields in the DB that need to be set appropriately for Drupal to recognize it as a custom content type instead of one provided by a module which allows the user full access to control it.

Comments

dagmar’s picture

Status: Active » Needs review
StatusFileSize
new3.49 KB
new2.7 KB

The problem seems be related to content types created by others modules than node.module.

dagmar’s picture

Status: Needs review » Fixed

Committed 262348d

dagmar’s picture

Status: Fixed » Active

I don't know why I find 'edit' instead of 'delete' in the tests.

dagmar’s picture

Status: Active » Needs review
StatusFileSize
new1.35 KB
new660 bytes
dagmar’s picture

Status: Needs review » Fixed

Committed and pushed to 7.x-2.x.

Status: Fixed » Closed (fixed)

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