The 4.7.0-rc1 release of drupal has removed the function node_validate_title. As per several other modules, the solution is simply remove the call to that function from the module. This is what the patch does and it seems to work fine.

CommentFileSizeAuthor
liquid_rc1.patch.txt462 bytesWRXIzumi

Comments

alexandreracine’s picture

Priority: Normal » Critical

Could someone commit this patch?

I can't say that doing a "diff thisfilepatch.1" ... etc will work.
But manually editing the file and commenting the line 73 like this, see below, works.

/**
 * Implementation of hook_validate().
 */
function liquid_wikipage_validate($node) {
 /* node_validate_title($node); */
}

So if I understand correctly and the file is doing just that (or removing the line 73), then It's all good.

alexandreracine’s picture

Status: Reviewed & tested by the community » Needs review

Can someone review this?

t3r0’s picture

Status: Needs review » Reviewed & tested by the community

Tested both solutions and both work. This is a critical bug and needs to fixed asap...

I recommend the first patch, because leving an empty hook_validate() makes no sense...

alexandreracine’s picture

Commiters, please look at this patch. Thanks.

drumm’s picture

The patch looks like the correct solution, as demonstrated by an equivalent patch being committed to story.module in core. Tested and it works too.

MichaelCole’s picture

Hi, this is still broken after install. Drupal 4.7.3 Install and 4.7.x Wiki.

Seems easy enough to fix and make a new unbroke version...

sorenp’s picture

Status: Reviewed & tested by the community » Fixed

Easy... but requires time. I've had problems with committing so nothing was updated at the official site... I'm sorry.

There is an update for 5.1 now where this has been fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)