Discovered at https://www.drupal.org/node/2553595#comment-10242393 - an attempt to create a non-existent field gives the message

Attempt to create a field {$this->field_name} that does not exist on entity type {$this->entity_type}.

s/\'/\"/

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mikeryan created an issue. See original summary.

mikeryan’s picture

Issue summary: View changes
mikeryan’s picture

FileSize
982 bytes

mikeryan--

swentel’s picture

Status: Needs review » Reviewed & tested by the community

Ha, funny one :)

(I really do hope we don't want any tests for exceptions)

benjy’s picture

ha, this is why I like sprintf()

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 3: fieldconfig-exception-3.patch, failed testing.

Status: Needs work » Needs review
phenaproxima’s picture

Status: Needs review » Reviewed & tested by the community

Don't play games with my heart, testbot.

phenaproxima’s picture

Priority: Minor » Normal

Escalating a bit, since having this error message be coherent will help with debugging.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 3: fieldconfig-exception-3.patch, failed testing.

Status: Needs work » Needs review
phenaproxima’s picture

Status: Needs review » Reviewed & tested by the community

Easy fix, quick win.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Oops. ;) Committed and pushed to 8.0.x. Thanks!

  • webchick committed 3a38bef on 8.0.x
    Issue #2554841 by mikeryan: FieldException message failing to embed...

Status: Fixed » Closed (fixed)

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