entity_bundle_plugin_rebuild_fields() does too many field updates on cache clear, it should be smarter and only update a field if it's really needed.

Comments

amateescu’s picture

Status: Active » Needs review
StatusFileSize
new9.54 KB

Here's a patch for that.

It also contains a test, some whitespace fixes and a partial rollback of the Entity API controller changes from http://drupalcode.org/project/entity_bundle_plugin.git/commit/ae8692b which weren't really needed.

jsacksick’s picture

This patch fails when applying from a .make, here's a new patch that tries to fix the issue.

jsacksick’s picture

jsacksick’s picture

Status: Needs review » Fixed

Committed!

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