Problem/Motivation
After #2346273: Allow user to select bundles per entity type on field settings page we have problem same as #2370703: ER's "autocreate" feature is mostly broken (and untested).
1) formatters don't output anything in preview mode
2) widgets lose their data when returning to the node edit form
Proposed resolution
Add tests and fix the problem
Remaining tasks
Create a patch
User interface changes
None
API changes
N/A
| Comment | File | Size | Author |
|---|---|---|---|
| #20 | der_s_autocreate-2389605-20.patch | 3.87 KB | jibran |
Comments
Comment #1
jibranHere is the test patch.
Comment #3
jibranAdded new asserts.
Comment #5
larowlanHi Jibran
Thanks for this.
What do you need from me?
Lee
Comment #6
jibranI have no idea how to fix these fails.
Comment #7
jibranAlso added #2374019: Cleanup the use of custom item properties in EntityReferenceFormatterBase fixes.
Comment #15
jibranRemoved #2374019: Cleanup the use of custom item properties in EntityReferenceFormatterBase fix to test.
Comment #17
jibranwe have the same problem as #2404331: Can't serialise an entity with an entity reference to an unsaved entity (remove EntityReferenceItem::$NEW_MARKER in favour of a validation constraint). I'll create an issue for DER.
Comment #20
jibranReroll.
Comment #21
larowlanWow - test only now!
Comment #23
jibranThanks for the review. Committed and pushed to 8.x-1.x