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(),
  );
CommentFileSizeAuthor
#2 eck-invalid-base-path-3009855-2.patch926 bytesjcnventura

Comments

jcnventura created an issue. See original summary.

jcnventura’s picture

Status: Active » Needs review
StatusFileSize
new926 bytes

Reverts the part of #1798646-100: Make ECK entities translatable (entity translation integration). that made these warnings appear.

lamp5’s picture

I can see the same warnings on my sites, patch helps. Thanks.

ducdebreme’s picture

I confirm, that the warnings have disappeared after patch.

jcnventura’s picture

Status: Needs review » Reviewed & tested by the community
fmb’s picture

#2 works indeed, thanks.

alex_optim’s picture

+1

pifagor’s picture

credits +

  • pifagor committed df49573 on 7.x-2.x authored by jcnventura
    Issue #3009855 by jcnventura, lamp5, ducdebreme, FMB, pifagor,...
pifagor’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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

jeff h’s picture

I 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.

geoffray’s picture

I agree with #12, please publish 7.x-2.0-rc11. Thanks