Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anas_maw’s picture

Anas_maw’s picture

This patch handle i18n existing, which i missed it in the first one.

Status: Needs review » Needs work

The last submitted patch, 2: entity-reference-label-translate-1.patch, failed testing.

Anas_maw’s picture

This patch handle i18n existing, which i missed it in the first one.

Anas_maw’s picture

Anas_maw’s picture

Anas_maw’s picture

Anas_maw’s picture

Anas_maw’s picture

Anas_maw’s picture

Status: Needs work » Needs review
Anas_maw’s picture

Edited, now loading node using node_load function.

Anas_maw’s picture

Anas_maw’s picture

Anas_maw’s picture

Assigned: Anas_maw » Unassigned
Chris Matthews’s picture

Version: 7.x-1.1 » 7.x-1.x-dev
Status: Needs review » Needs work
Issue tags: +Needs reroll

The 3 year old patch in #13 to entityreference.module does not apply to the latest 7.x-1.x-dev and if still relevant needs a reroll.

Checking patch entityreference.module...
error: while searching for:
      $handler = entityreference_get_selection_handler($field, $instance, $entity_type, $entity);

      foreach ($items as $delta => $item) {
        $label = $handler->getLabel($item['entity']);
        // If the link is to be displayed and the entity has a uri, display a link.
        // Note the assignment ($url = ) here is intended to be an assignment.

error: patch failed: entityreference.module:1238
error: entityreference.module: patch does not apply
teknikqa’s picture

Status: Needs work » Needs review
Issue tags: -Needs reroll
FileSize
946 bytes

I have been using this for years. Here is the patch rerolled to the latest dev.