Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293450

Field UI integration for entity types is brittle

$
0
0

A fieldable entity type without a bundle breaks Field UI integration for all bundles of entity types that alphabetically follow it.

Lazy bit of coding on my part.

Found by agentrickard because domain has no bundle.
It doesn't occur in core because User is the only entity type that doesn't have a bundle, and there are no fieldable entity types that come after U.

The $defaults array is never reset, so it is wrong populated into the routes that follow, breaking their placeholder expansion.

I'll write tests tonight.

AttachmentSizeStatusTest resultOperations
field-ui-bundle-disaster.patch747 bytesIdlePASSED: [[SimpleTest]]: [MySQL] 55,528 pass(es).View details | Re-test

Viewing all articles
Browse latest Browse all 293450

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>