Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
node system
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
5 Feb 2010 at 19:18 UTC
Updated:
29 Jul 2014 at 18:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jherencia commentedReroll.
Comment #3
bleen commentedI can confirm that when $node->in_preview == TRUE, there is no $node->content so this check is unnecessary
reroll...
Comment #5
tobiasb#3: unneeded-if.patch queued for re-testing.
Comment #6
moshe weitzman commentedThe code we are removing does serve a purpose. Namely, it tries to remove node links during a Preview. That’s done because you can't actually add a comment and so on to a node thats not been created yet. Seems like the code is acting on the wrong variable though.
I'm fine with removing this, since removing node links during Preview is pretty edge case anyway.
Comment #7
sunCan be backported later.
Comment #8
catchtagging for backport.
Comment #9
jherencia commentedPatch works for both branches.
Comment #10
dries commentedCommitted to 7.x and 8.x.
(Working from the road so can't review big complex issues right now -- picking away some smaller patches that are unlikely to break bigger patches.)