Now that eck 7.x-2.0-rc10 including #1798646-100: Make ECK entities translatable (entity translation integration). has been released, I'm getting the following warnings every time I flush all caches:
Invalid base path defined for entities of type Regional links: matching menu item not found for regional_links/%
Invalid view path defined for entities of type Regional links: matching menu item not found for regional_links/%
Invalid edit path defined for entities of type Regional links: matching menu item not found for regional_links/%/edit
Invalid translate path defined for entities of type Regional links: parent menu item not found for regional_links/%
I think it is because the following code was removed in that issue from the eck__bundle__menu() function:
// Dummy menu items so that entity translation will not complain about there
// not being a default.
// @todo: Remove these dummy items once issue https://drupal.org/node/2273189
// is resolved.
$menu["$entity_type->name/%"] = array(
'page callback' => FALSE,
'page arguments' => array(),
'access callback' => FALSE,
'access arguments' => array(),
);
$menu["$entity_type->name/%/edit"] = array(
'page callback' => FALSE,
'page arguments' => array(),
'access callback' => FALSE,
'access arguments' => array(),
);
Comments
Comment #2
jcnventuraReverts the part of #1798646-100: Make ECK entities translatable (entity translation integration). that made these warnings appear.
Comment #3
lamp5I can see the same warnings on my sites, patch helps. Thanks.
Comment #4
ducdebreme commentedI confirm, that the warnings have disappeared after patch.
Comment #5
jcnventuraComment #6
fmb commented#2 works indeed, thanks.
Comment #7
alex_optim+1
Comment #8
pifagorcredits +
Comment #10
pifagorComment #12
jeff h commentedI realise this is kind of old, but for anyone still using this module on 7.x it would be great if you could roll a new release containing this patch.
Comment #13
geoffray commentedI agree with #12, please publish 7.x-2.0-rc11. Thanks