Related to issue https://www.drupal.org/node/2429187

Though the patch from the related issue above was applied, over time, nodes may still point to unpublished content. Cron runs can be utilized to check for this occurrence and re-point the prev/next NIDs to published nodes using the modify function.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dysproseum’s picture

Created patch to query for unpublished nodes in cron run and update them accordingly using the module's modify function.

dysproseum’s picture

Status: Active » Needs review
fran seva’s picture

I have reviewed the patch and looks good for me. I have also applied the patch in a site and test it and works as expected. It cleans the unpublished nodes from prev_next_node table in each cron.

fran seva’s picture

Status: Needs review » Reviewed & tested by the community

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 1: prev_next-2464065-cron-1.patch, failed testing.

The last submitted patch, 1: prev_next-2464065-cron-1.patch, failed testing.

The last submitted patch, 1: prev_next-2464065-cron-1.patch, failed testing.

The last submitted patch, 1: prev_next-2464065-cron-1.patch, failed testing.