What happens when the node Title is changed? Will the freelink that points to it break or will it always point to that node and correct the link text with the new title? It would be good to inform about this important issue on the project home page or at least in the documentation / readme text.

Comments

misc’s picture

Please test, and add it to the documentation.

ñull’s picture

Title: Change of node title » Change of node title breaks freelink

Drupal Wiki install profile is apparently based on Freelinking module. I noticed on their "The big Wiki" demo site that when I change the title of a node then the freelink will break. This means a freelink is less free then we think and it just a mass of administration to maintain all title changes.

Please add a feature to solve this problem and until then please put a warning in documentation.

ñull’s picture

Title: Change of node title breaks freelink » Change of node title behaviour

Apparently the demo uses an old version. With the latest release the behaviour is that the link to the node is fixed (links to node/ which is fixed). The link text is not updated. Since the link is not broken, this seems to be a fair solution. Only documention is need.

Suggested minimum documentation:

Changed Node title
When a node is automatically created through the Createnode plug-in by clicking a freelink to an non-existing node then after saving this node and changing its title the link will not be broken.

Would be interesting to know what are the circumstances the freelink breaks.

gisle’s picture

Issue summary: View changes
Status: Active » Needs review

Re #3: The create mode plugin (i.e. freelinking prepopulate) has nothing to do with this question.

The question is: Will a freelink to a node title "foo" (i.e. [[nodetitle:foo]]) break if the title of that node changes to "bar"?

The answer is yes. This information have been added to READMEs in the 6.x-3.x and 7.x-3.x dev branched.

Freelinking needs a tool to protect node titles from changes to prevent this from happening, similar to the tool to do this that is part of the abandoned Wikitools project.

  • gisle committed 6c1277f on 6.x-3.x
    #1888230 by gisle: Documented what happens if node title changes.
    
gisle’s picture

Status: Needs review » Fixed

This information is now also included in the READMEs of the 6.x-3.5 and 7.x-3.5 releases.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.