#1778122-95: Enable modules to inject attributes into field formatters, so that RDF attributes get output showed that the test upgrade ends up creating an EntityDisplay object that contains data for test_deleted_field

We should make sure entity displays do not get populated with fiedls that are deleted at the time the upgrade runs.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

yched’s picture

Status: Active » Needs review
FileSize
4.72 KB
1.36 KB

Should fix it - diff is big, but this just wraps code in an if (instance is not deleted) {

Status: Needs review » Needs work

The last submitted patch, entity_display_update-2089273-1.patch, failed testing.

yched’s picture

Status: Needs work » Needs review
FileSize
497 bytes
4.71 KB
1.35 KB

Silly.

swentel’s picture

Status: Needs review » Reviewed & tested by the community
webchick’s picture

Status: Reviewed & tested by the community » Needs review

Just a question, does the d7-filled-db or whatever it is actually have deleted fields in it? In other words, are those added tests actually testing anything?

yched’s picture

Status: Needs review » Reviewed & tested by the community

Yes it does - or the test-only patch would't fail :-)

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Duh. :P Right. :P

Committed and pushed to 8.x. Thanks! Yay better upgrade path! :)

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

Anonymous’s picture

Issue summary: View changes

more specific