I am getting several "Source ID shortcut-set-1: Config entities can not be stubbed." messages from update/migrate from D7 to D8. D8 is at 8.1.8.
What does this message mean?
I found perhaps a related problem at https://www.drupal.org/node/2590993.
Do I need to worry about these messages?
Thanks!
Comments
Comment #2
mikeryanWhat this means is that the d7_shortcut migration attempted to resolve a shortcut's menu_name to a previously-migrated shortcut set, but the resolution failed. With content entities (nodes, terms, etc.) in this case it would create a "stub" to point to, but this can't be done for configuration entities like shortcut sets, so you get that message. Looking at how the shortcut migrations are set up, my best guess as to what would trigger this is if you had a menu_name in your D7 menu_links table like "shortcut-set-3" which did not exist in your D7 shortcut_set table - can you check and see if that might be the case?
The upshot of this, any shortcuts with unresolved shortcut sets will not be created in D8 by migration.
Comment #3
mikeryanComment #4
samstamport commentedshortcut_set table contains only one row with set_name = shortcut-set-1.
menu_links table contains five rows with menu_name = shortcut-set-1.
link_path contents are:
node/add
admin/content
admin/structure/taxonomy
admin/config/system/data_export_import
admin/config/system/backup_migrate/export/advanced
Please let me know if you need additional information.
Comment #5
samstamport commentedComment #11
heddnIt's been a while since this was opened. Lots of things have changed since then. Perhaps this is fixed by various improvements in the overall migrate system?
Comment #12
fgmStill got this today on a 7.72->9.0.5 migration, so the issue is still there.
Same situation: on a site where no shortcut was created, the shortcut table only contains one row with "shortcut-set-1" / "Default".
Comment #13
JavierRodri1989 commentedI also have these errors ... is it important for migration? there's a solution?
Comment #14
quietone commentedThis is duplicate of a later issue which has a patch to fix this, #3152943: Remove migration of shortcuts from menu_link migration.
It would be very helpful if anyone experiencing this problem would try the patch in the other issue and comment there on the results. Thanks.
Closing as a duplicate.
Comment #15
oknaru commentedI run D7.82 to D9.3.0 migration and also received "Source ID shortcut-set-1: Config entities can not be stubbed"