- Issue created by @bernardopaulino
- 🇧🇪Belgium bernardopaulino Brussels
Here is a patch which implements the same same logic as seen in the menu_link module.
When creating a menu link directly from the node form, the menu_link_weight
module tries to copy the title value of the node. This results in a JavaScript error if the title field of the node is not presented, which occurs when the title is automatically generated via the
auto_entitylabel →
module.
The error arises because there's a missing check in the menu_link_weight module's JavaScript code. This check should verify the presence of the title before processing the remaining logic.
Add a check to ensure the title field is present before the logic is processed as it's done in the menu_link
module.
Active
2.0
Code
Here is a patch which implements the same same logic as seen in the menu_link module.