- πΊπΈUnited States mikelutz Michigan, USA
Closing as outdated. Feel free to reopen if this can be duplicated in Drupal 10.
This is the follow up to my other issue, see: https://www.drupal.org/project/drupal/issues/3052117 β . This time i aplied the proposed patch π calculateDependencies doesn't check $mode_entity if it is NULL Needs work to get a human readable error.
The problem:
After migrating from drupal 7 to drupal 8, using the migrate manifest methode*, everthing works as expected, except on part. When i go to 'admin/structure/display-modes/view' and i click edit/delete on 'full' or 'teaser' in the content section, i get a 404 page not found.
*Happens with any migrate methode.
The database logs it as page not found.
When i go to 'admin/structure/types/manage/article/display' and i click save on the default display, it gives the following error: The website encountered an unexpected error. Please try again later..
The database log gives the following detailed error log:
RuntimeException: Cannot add the config entity dependency with ID 'node.teaser' of type 'entity_view_mode' to core.entity_view_display.node.bands.teaser as it does not exist in Drupal\Core\Config\Entity\ConfigEntityBase->addConfigEntityDependency() (line 643 of H:\xampp\htdocs\test\core\lib\Drupal\Core\Config\Entity\ConfigEntityBase.php).
Yet the view mode can be found inside the 'config' database table, thus it exist?
This error also occurse with the viewmode 'full' and any other content type. I disabled and uninstalled all the D7 modules that could change those settings. Does not occur on clean D7 --> D8.
Also, is this a bug than can be fixed post-migrate?
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Closing as outdated. Feel free to reopen if this can be duplicated in Drupal 10.