Hey guy,
thank you developed this great module. But there is little issue here:

  $items['entity_collection/autocomplete/%entity_collection/%/%/%'] = array(
    'title' => 'entity_collection autocomplete',
    'page callback' => 'entity_collection_content_form_autocomplete',
    'page arguments' => array(2, 3, 4),
    'access callback' => 'entity_collection_access',
    'access arguments' => array('add content to', 2),
    'type' => MENU_CALLBACK,
    'file' => 'entity_collection.admin.inc',
  );
  $items['entity_collection/autocomplete/%entity_collection/%/%/%'] = array(
    'title' => 'entity_collection autocomplete',
    'page callback' => 'entity_collection_content_form_autocomplete',
    'page arguments' => array(2, 3, 4, 5), // <strong>Please add 5 here. you missed it</strong>
    'access callback' => 'entity_collection_access',
    'access arguments' => array('add content to', 2),
    'type' => MENU_CALLBACK,
    'file' => 'entity_collection.admin.inc',
  );

Cheers
Jackey

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jziwenchen’s picture

Status: Fixed » Active

Open it .

c4rl’s picture

Status: Active » Needs work

Can you post a patch, please?

timbrandin’s picture

Version: » 7.x-1.x-dev

Any progress with the patch?

timbrandin’s picture

Issue summary: View changes

Changed issue description.

pontus_nilsson’s picture

Issue summary: View changes
Status: Needs work » Needs review
FileSize
911 bytes

Here comes the tiny patch that fixes the autocomplete so that it passes the string.

pontus_nilsson’s picture

Status: Needs review » Closed (fixed)

Fixed in e7dca43