[OMP] Fatal error when creating a series menu item without content #10511
Labels
Bug:1:Low
A bug that does not have a severe consequence or affects a small number of users.
Milestone
Describe the bug
After creating a series menu item without linking it to any item (see image below), a fatal error happens.
The strange thing that needs to be analyzed is that a call to
$navigationMenuItem->getPath()
outputs Laravel code�*�escapeWhenCastingToString
.A workaround must be left for bad cases, and the field should be probably turned into required. If the ID is a physical field, it can be setup as not null, but a further script should clear invalid data on the upgrade.
It's also needed to check if the bug applies to OMP 3.3
To Reproduce
What application are you using?
OMP 3.4
The text was updated successfully, but these errors were encountered: