Download & Extend

Missing vid in watchdog for revision revert

Project:Drupal core
Version:5.x-dev
Component:node.module
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

The watchdog for a reverted revision is referencing a missing variable $revision, so the end result looks like:

page: reverted page revision .

Patch simply changes that missing variable to $node->vid, which I think is what that's supposed to be. Thanks, Eclipse!

This is not an issue in 6.x, because that whole function's logic was all switched around with the CSRF fix.

Comments

#1

AttachmentSizeStatusTest resultOperations
node-missing-vid-watchdog-211825-1.patch987 bytesIgnored: Check issue status.NoneNone

#2

Status:needs review» fixed

Committed to 5.x.

#3

Status:fixed» closed (fixed)

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

nobody click here