Full path missing when old nodes are added to book

Created on 16 December 2023, about 1 year ago
Updated 22 December 2023, 12 months ago

I am seeing a strange behaviour with this module. If I add a new node to the book outline when it is created, it has the correct link url in the outline in the custom book block. But if I add an old node, the link reverts to the home page of the site; the full path to the node is missing. This is on Drupal 9.5.11. As far as I can recall, I have not tampered with anything that would cause this. I wonder if anyone else has seen this or has an idea what might be causing it.

πŸ’¬ Support request
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom Andrew Perriman

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Andrew Perriman
  • πŸ‡©πŸ‡ͺGermany simonbaese Berlin

    Could this be related to πŸ“Œ Missing translation - frontpage link Needs review ? The mentioned issue will be fixed with the next release. Just waiting for response there.

  • πŸ‡¬πŸ‡§United Kingdom Andrew Perriman

    It looks like the same effect, but the cause may be different. I don’t use translations. I’ll look into it a bit more but the only difference I can see is between new articles directly added to the book and old articles not originally part of the book.

  • πŸ‡¬πŸ‡§United Kingdom Andrew Perriman

    It appears that the problem nodes had "und" in the langcode column in node_field_data and node_field_revisions tables. When I changed this to "en" in the database, the nodes were listed in the custom book block with the full link. I presume this has something to do with changes made between Drupal 7 and 8 and that the module doesn't allow for undetermined language specification.

  • πŸ‡©πŸ‡ͺGermany simonbaese Berlin

    Thanks for investigating more. The changes in the mentioned issue should resolve this problem. I will publish another release during this week which will include these changes.

  • Status changed to Postponed: needs info 12 months ago
  • πŸ‡©πŸ‡ͺGermany simonbaese Berlin

    Published a new release. Please try to replicate the problem with the new release.

  • πŸ‡¬πŸ‡§United Kingdom Andrew Perriman

    Yes, that's fixed it. Thanks.

  • Status changed to Closed: works as designed 12 months ago
  • πŸ‡©πŸ‡ͺGermany simonbaese Berlin
Production build 0.71.5 2024