When cloning a node the value is not detected and this module complains that the reference should be set via the URL

CommentFileSizeAuthor
#12 i2804439-12.patch1.42 KBattiks
#9 i2804439-9.patch840 bytesattiks
#4 i2804439-4.patch797 bytesattiks
#2 i2804439-2.patch1017 bytesattiks

Comments

attiks created an issue. See original summary.

attiks’s picture

Status: Active » Needs review
StatusFileSize
new1017 bytes

Attached patch checks the items_count on the field

Status: Needs review » Needs work

The last submitted patch, 2: i2804439-2.patch, failed testing.

attiks’s picture

Status: Needs work » Needs review
StatusFileSize
new797 bytes

Let's try this again

Status: Needs review » Needs work

The last submitted patch, 4: i2804439-4.patch, failed testing.

amitaibu’s picture

THanks.

I think enough to do (!empty($value['items_count']). Also worth adding a comment why it's needed.

attiks’s picture

$value['items_count'] can be 0, so we need the $value['items_count'] > 0

attiks’s picture

nevermind, misread the empty part

attiks’s picture

Status: Needs work » Needs review
StatusFileSize
new840 bytes

Status: Needs review » Needs work

The last submitted patch, 9: i2804439-9.patch, failed testing.

amitaibu’s picture

I suspect the test is failing regardless. Just yesterday I had this one that might help

attiks’s picture

StatusFileSize
new1.42 KB

attempt to fix the test

attiks’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 12: i2804439-12.patch, failed testing.

attiks’s picture

Failed, no idea why