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

Comments

jibran’s picture

Status: Active » Needs review
StatusFileSize
new4.37 KB

Here is the test patch.

Status: Needs review » Needs work

The last submitted patch, 1: 2389605-der-autocreate-1.patch, failed testing.

jibran’s picture

Assigned: Unassigned » larowlan
Status: Needs work » Needs review
StatusFileSize
new2.24 KB
new4.71 KB

Added new asserts.

Status: Needs review » Needs work

The last submitted patch, 3: 2389605-der-autocreate-3.patch, failed testing.

larowlan’s picture

Hi Jibran
Thanks for this.
What do you need from me?

Lee

jibran’s picture

I have no idea how to fix these fails.

jibran’s picture

Status: Needs work » Needs review
Related issues: +#2374019: Cleanup the use of custom item properties in EntityReferenceFormatterBase
StatusFileSize
new2.04 KB
new5.57 KB

Status: Needs review » Needs work

The last submitted patch, 7: 2389605-7-der-autocreate.patch, failed testing.

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 7: 2389605-7-der-autocreate.patch, failed testing.

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 7: 2389605-7-der-autocreate.patch, failed testing.

The last submitted patch, 3: 2389605-der-autocreate-3.patch, failed testing.

jibran’s picture

Status: Needs work » Needs review
StatusFileSize
new1.39 KB
new6.02 KB

Status: Needs review » Needs work

The last submitted patch, 15: 2389605-der-autocreate-15.patch, failed testing.

jibran’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 15: 2389605-der-autocreate-15.patch, failed testing.

jibran’s picture

Status: Needs work » Needs review
StatusFileSize
new3.87 KB

Reroll.

larowlan’s picture

Status: Needs review » Reviewed & tested by the community

Wow - test only now!

  • jibran committed b67f42f on 8.x-1.x
    Issue #2389605 by jibran: DER's "autocreate" feature is mostly broken (...
jibran’s picture

Assigned: larowlan » Unassigned
Status: Reviewed & tested by the community » Fixed

Thanks for the review. Committed and pushed to 8.x-1.x

Status: Fixed » Closed (fixed)

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