- Issue was unassigned.
- 🇮🇹Italy apaderno Brescia, 🇮🇹
If what reported in this issue is a Drupal core bug, should not this issue be closed?
- Status changed to Closed: duplicate
over 1 year ago 1:25pm 23 May 2023 - 🇧🇷Brazil gerson.analista
The default menu link is requered and always generates a record in "link__options" field of the {menu_link_content_data} table.
The new field created by the "Translatable menu link uri" module "link_override__options" on {menu_link_content_data} table is optional and his value table can be empty.
This fact causes the deprecated message in the core\lib\Drupal\Core\Entity\Sql\SqlContentEntityStorage.php file around line 602.
foreach ($columns as $property_name => $column_name) { $column_attributes = $definition_columns[$property_name]; $values[$id][$field_name][$langcode][$property_name] = (!empty($column_attributes['serialize'])) ? unserialize($row[$column_name]) : $row[$column_name]; //Deprecated generated here }
I marked this problem as active because I was investigating the problem further.
I have some sites that use this module, I thought I would find a way to avoid the deprecated message directly in this module, but by the way we will have to wait for the problem to be fixed in core of Drupal.