When installing Drupal 7 with more than one language active, the following error appears once you try to upload a new document:

Notice: Undefined index: en in _document_get_node_terms() (line 635 of C:\Programas\wamp\www\Salvis_mal\modules\document\document.module).

The document uploads but with an empty value on the "type" field.
I tried to go back to an only english installation and the problem was solved, so it´s quite clear the problem only appears when you have more than one language installed.

I´ll appreciate any help to solve this!

CommentFileSizeAuthor
#1 document_7.x-1.x.patch5.47 KBb1101
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

b1101’s picture

Status: Active » Fixed
FileSize
5.47 KB
r_honey’s picture

Assigned: Unassigned » r_honey

Hi ablheza, a series of fixes have recently been committed for D7 version. Your issue should now be resolved.

Status: Fixed » Closed (fixed)

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