When any field that has "Field can be translated" is toggled on and is tried to disable translation for field following happens:
1. Are you sure you want to disable... => Yes
2. Disabling translation for the field_firstname field
An error has occurred.
Please continue to the error page
3. Something went wrong while processing data. Some nodes may appear to have lost fields.
Also if user has profile2 filled with one language, switching to other languages either a) blank out all the fields b) fields appear with correct information but views using them output blank.
Disabling module and refilling profile2 profile (As disabling module empties profile2 field values saved in database) and saving it shows fields correctly for all fields and views can again access field values but this we cannot do in production because we cannot afford data loss of thousands of user profiles.
More information that is related to issue from watchdog:
php 07.01.2013 - 09:00 Notice: Undefined index: translations in... Tuomas Leppänen
php 07.01.2013 - 09:00 Notice: Undefined index: translations in... Tuomas Leppänen
php 07.01.2013 - 08:59 Notice: Undefined index: translations in... Tuomas Leppänen
php 07.01.2013 - 08:59 Notice: Undefined index: module in _field_info... Tuomas Leppänen
php 07.01.2013 - 08:59 Notice: Undefined index: module in _field_info... Tuomas Leppänen
php 07.01.2013 - 08:59 Notice: Undefined index: module in _field_info... Tuomas Leppänen
php 07.01.2013 - 08:59 Notice: Undefined index: module in _field_info... Tuomas Leppänen
php 07.01.2013 - 08:59 Notice: Undefined index: module in _field_info... Tuomas Leppänen
php 07.01.2013 - 08:59 Notice: Undefined index: module in _field_info... Tuomas Leppänen
php 07.01.2013 - 08:59 Notice: Undefined index: module in _field_info... Tuomas Leppänen
php 07.01.2013 - 08:59 Notice: Undefined index: module in _field_info... Tuomas Leppänen
php 07.01.2013 - 08:59 Notice: Undefined index: module in _field_info... Tuomas Leppänen
From top:
Type php
Date Monday, January 7, 2013 - 09:00
User Tuomas Leppänen
Location http://spren/batch?id=7161&op=do_nojs
Referrer
Message Notice: Undefined index: translations in EntityTranslationDefaultHandler->getTranslationsKey() (line 1387 of /Users/tuomasleppanen/Sites/d7/drupal-base-d7/sites/xxx/modules/contrib/entity_translation/includes/translation.handler.inc).
(This with ID 59-61)
Rest are:
Notice: Undefined index: module in _field_info_prepare_instance_widget() (line 386 of /Users/tuomasleppanen/Sites/d7/drupal-base-d7/modules/field/field.info.inc).
Apache error log:
[Mon Jan 07 08:59:58 2013] [error] [client 127.0.0.1] PHP Fatal error: Cannot access empty property in /Users/tuomasleppanen/Sites/d7/drupal-base-d7/sites/xxx/modules/contrib/entity_translation/includes/translation.handler.inc on line 716
[Mon Jan 07 09:00:05 2013] [error] [client 127.0.0.1] PHP Fatal error: Cannot access empty property in /Users/tuomasleppanen/Sites/d7/drupal-base-d7/sites/xxx/modules/contrib/entity_translation/includes/translation.handler.inc on line 716
[Mon Jan 07 09:00:12 2013] [error] [client 127.0.0.1] PHP Fatal error: Cannot access empty property in /Users/tuomasleppanen/Sites/d7/drupal-base-d7/sites/xxx/modules/contrib/entity_translation/includes/translation.handler.inc on line 716
Comment | File | Size | Author |
---|---|---|---|
#3 | et-info_dep-1881872-3.patch | 438 bytes | plach |
Comments
Comment #1
Demoshane CreditAttribution: Demoshane commentedUpdate from alpha2 -> beta2 caused the issue due core requirements had changed. Working as intended. Maybe make core dependency version in .info?
Comment #2
plachGood idea, we already have it in Title.
Comment #3
plachWhat about this?
Comment #4
Demoshane CreditAttribution: Demoshane commentedThat should do it.
Comment #5
plachOk, thanks.
Comment #6
plachCommitted and pushed.