Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When new node is published, the prev node of the new node isn't updated and it's missing the new node as next node.
Reproduce steps:
1. set indexing criteria to 'post_date'
2. reindex all content
3. check the latest content (it won't have next content since it's the latest)
4. create a new content that's included in prev/next
5. view the new content and click on prev link
6. check if the content is missing next link (which should be the new content)
I also made the patch for it. please review it.
Thanks,
Ethan
Comments
Comment #2
ethan.han777 CreditAttribution: ethan.han777 commentedComment #7
ethan.han777 CreditAttribution: ethan.han777 commentedComment #8
marttir CreditAttribution: marttir at Avoltus Oy commentedThanks for the patch! Applied on 2.x-dev, working as advertised.
Reviewer please note that #2 patch was rolled into another patch in #2429187. It might be more convenient to merge.
Comment #9
fordprefect76 CreditAttribution: fordprefect76 commentedCan you confirm the latest dev version was updated is correctly. When I pull down I am still getting the following version:
version = "7.x-2.0-alpha1+2-dev"
I am going to manual apply the patch for now.
Comment #10
alphawebgroupHi Guys
are there any chance to get this one committed?
Comment #11
jcnventura CreditAttribution: jcnventura at Wunder commentedMarking this as duplicate of #2429187: Prev/Next data is not updated when a node becomes unpublished. Someone please review and RTBC that one.