When enabled entity translation for bookable units
It gives me the error
Notice: Array to string conversion in EntityAPIControllerExportable->applyConditions() (line 624 of /Users/ines/Sites/drupal7/drupal/sites/all/modules/contrib/entity/includes/entity.controller.inc).
Notice: Undefined property: RulesReactionRule::$status in _entity_defaults_rebuild() (line 719 of /Users/ines/Sites/drupal7/drupal/sites/all/modules/contrib/entity/entity.module).
When adding a field in bookable unit types
it gives me the error
Notice: Undefined index: label in _entity_translation_label() (line 186 of /Users/ines/Sites/drupal7/drupal/sites/all/modules/contrib/entity_translation/entity_translation.admin.inc).
Any ideas?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

panRoman’s picture

Is Rooms 7.x-1.7 module compatable with entity translation module?

How to tranllate "Unit name" in rooms?

7thkey’s picture

Another problem i'm facing when using neutral language and entity translation while editing existing room, fields appears empty.
Anyone else?

7thkey’s picture

Added a little patch that fixes the issue with empty multilanguage fields.

7thkey’s picture

Status: Active » Needs review
7thkey’s picture

Better one.

Reis Quarteu’s picture

Hi.

I'm also facing an issue with translating booking unit types. Having found this Rooms' issue, I'm not sure if it's related with the one I'm dealing with, so I would like to ask @7thkey: what does your patch exactly do?

Many thanks in advance! :)

ronald_istos’s picture

Version: 7.x-1.4-beta1 » 7.x-1.x-dev
Status: Needs review » Fixed

This looks good to me - commited to dev branch - thanks!

Reis - patch makes sure that fields play nicely with Entity translation and take into account the current language of the unit.

Status: Fixed » Closed (fixed)

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