Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
other
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 Aug 2013 at 15:45 UTC
Updated:
29 Jul 2014 at 22:46 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
sergeypavlenko commentedComment #2
andymartha commentedAfter applying the patch drupal-2064271-1.patch by sergeypavlenko in #1 to a Drupal 8 fresh install 8/12, the patch applied cleanly and removed the unused $node variable from the file. However, the first time I tried to edit a node after applying the patch, I received the following error message. I tried creating nodes and editing/saving them in a variety of content settings (leaving some off, changing the type of content, etc...) and couldn't reproduce, so I guess it was a fluke. Anything else, just ask.

Comment #3
sergeypavlenko commentedHi Andy, Thanks for the review.
The method of "drupalGetNodeByTitle" searches and returns a node for further processingthis should not affect the code below.
Comment #4
alphawebgroupjust checked
this improvement in the patch doesn't affect the main flow of content editing... because that unused variable was removed from the test flow...
so, rtbc is correct for this patch i believe
Comment #5
alexpottCommitted 56f9e47 and pushed to 8.x. Thanks!