Problem/Motivation

Saving adjustments in the menu structure causes the following error (code 503):

Entity type 'Drupal\\colossal_menu\\Entity\\Menu' is missing 'config_export' definition in its annotation

After clicking the back button and reloading the page the adjustments are applied anyway.

Steps to reproduce

  1. Create a new menu entry -> save
  2. Move the new entry to it's target hierarchy -> save -> Error code 503

Proposed resolution

In Menu.php add the 'config_export' definition in it's annotation.

Comments

gmarcel created an issue. See original summary.

drfuzetto’s picture

StatusFileSize
new1014 bytes

Here's a patch that worked for me.

wells’s picture

Status: Active » Needs review
wells’s picture

Status: Needs review » Reviewed & tested by the community

Patch applies cleanly and resolves the issue during import. Thanks!

  • wells committed 058dfd6 on 2.x authored by drfuzetto
    Issue #3215119 by drfuzetto: Entity type 'Menu' is missing '...
wells’s picture

Status: Reviewed & tested by the community » Fixed
wells’s picture

Version: 2.0.0-rc1 » 2.x-dev

Status: Fixed » Closed (fixed)

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