Hello there,

I'm attaching a patch that helps this module function more smoothly as a part of a wiki setup involving freelinking, wikitools, and this module. Currently, one may go to a page creation form with a title prepopulated that is not unique. After filling out the form, it is then impossible to save the node without changing the title. This patch checks for a wikitools configuration, and if it detects that unique titles are turned on, and forwards the request to an existing node with the same title and content type.

You may also see the following link for more of the back story: http://drupal.org/node/465360

thanks!

Comments

BenK’s picture

Subscribing...

jbrauer’s picture

Status: Needs review » Needs work

Wouldn't it make sense for wikitools to check in all cases before the form is rendered to see if the title is one that already exists? It seems I could create nodes with conflicting titles in other places that would also cause problems with not being unique? In the same way that prepopulate does it's lifting in #after-build it seems wikitools could use #after-build to escape form-building if the title is a duplicate at that point?

acrollet’s picture

Status: Needs work » Closed (won't fix)

This use case has been solved by the freelinking_prepopulate module (part of http://drupal.org/project/freelinking)