Can not open the edit page

Created on 14 August 2024, 8 months ago

Problem/Motivation

The error message(Route "entity.fixed_block_content.canonical" does not exist.) is shown when I open the fixed block edit page.

Steps to reproduce

1. log in to Drupal using admin user
2. open the fixed block list(/admin/structure/block-content/fixed-block-content)
3. find a fixed block and edit it

Proposed resolution

Since the canonical route is the standard for defining entities in Drupal, it is recommended to keep this route. We can learn the method of the block_content module and define a canonical route and point it to the edit page.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.3

Component

Code

Created by

🇨🇳China simbaw

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @simbaw
  • Status changed to Needs review 8 months ago
  • 🇮🇳India chandansha

    I have tested Fixed Block Content version 8.x-1.3 in drupal version 10.3.2 but i could not get any error on edit page or Recent log page.
    could you please guide steps if i am wrong. for refference i attached mp4 file.
    Thanks!!

  • 🇺🇸United States hablat

    Also running into this error when updating an existing fixed block through config import

    In ConfigImportCommands.php line 290:
    
      The import failed due to the following reasons:
      Unexpected error during import with operation update for fixed_block_content.fixed_block_content.multimedia: Route "entity.fixed_block_content.canonical" does not exist.
    
    
    In ConfigImportCommands.php line 276:
    
      Errors occurred during import
    

    The patch https://www.drupal.org/project/fixed_block_content/issues/3467967#commen... 🐛 Can not open the edit page Active fixed it for me

Production build 0.71.5 2024