Problem

This is a related issue to https://www.drupal.org/node/2392845. The patch in #69 removed the auto creation code for computed field from ItemList class.
patch screenshot

This patch will lead to PHP error as we have function called to get the first item from an ItemList, but the list is empty caused by above change in core patch:
origin code

Proposal

If the patch gets in core, we will need to rework on the purge function to remove the pathauto state.
Or we need to rework on the core patch to add the auto creation of the conputered field item back.

Members fund testing for the Drupal project. Drupal Association Learn more

Comments

rli created an issue. See original summary.

rli’s picture

Tried to make it work with the core patch. Still need to work on it to clean up the purge function etc. But need a decision on this situation first.

rli’s picture

Title: Respect the removal of auto creation of the first item in computered field in core » Respect the removal of auto creation of the first item in computed field in core
Issue summary: View changes
seanB’s picture

Was breaking my head over this, was using the core patch you mentioned. Thank you!

typhonius’s picture

typhonius’s picture