Steps to reproduce:

  1. install Locale
  2. add french language
  3. enable multilingual support for articles
  4. create a french article
  5. remove french language
  6. visit admin/content

The following notices are raised:

    * Notice: Undefined index:  in node_admin_nodes() (line 466 of modules\node\node.admin.inc).
    * Notice: Undefined index: in node_admin_nodes() (line 483 of modules\node\node.admin.inc).
    * Notice: Trying to get property of non-object in node_admin_nodes() (line 483 of modules\node\node.admin.inc).
CommentFileSizeAuthor
#1 language-821560-1.patch1.57 KBplach
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

plach’s picture

Status: Active » Needs review
Issue tags: +Quick fix
FileSize
1.57 KB

The attached patch should fix the issue by introducing a check if the node language is defined.

marcingy’s picture

Priority: Normal » Major
MustangGB’s picture

Tag update

spearhead93’s picture

Status: Needs review » Reviewed & tested by the community

I was able to reproduce the bug following steps in post.
I've applied the batch and it resolves the bug. Moved to reviewed.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD. Thanks!

Status: Fixed » Closed (fixed)
Issue tags: -Quick fix

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