Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
entity system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
29 Jul 2015 at 23:48 UTC
Updated:
20 Aug 2015 at 14:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jhedstromSomething like this provides more details for the developer to start investigating.
Comment #2
jhedstromActually, just displaying the machine names avoids having to run checkPlain.
Comment #4
dawehnerI really like everything which improves the information behind exception messages. I'm wondering whether we really need sprintf and instead could just use ordinary old string concat, which are IMHO better to read core.
Comment #5
jhedstromThis removes the sprintf calls.
Comment #6
berdirYes please!
Was just sitting there yesterday with some of those exceptions and no clue about which field it actually was. We apparently don't have test coverage for those exact exceptions, so I don't think we need to add it here, that might not be trivial.
Comment #7
alexpottThis will makes people's lives easier. Committed 2c15ad9 and pushed to 8.0.x. Thanks!