Closed eden-jh closed 2 years ago
Closing this as I feel the solution proposed on #56 eliminates this issue. Regardless, a fix to prevent the console error has been pushed in https://github.com/callumbwhyte/meganav/commit/03588dfbd19b4d37c8d265d220eee12682cb5d92 which I will release with v2.0.2 / v3.0.2 shortly.
Populate from tree property action silently fails if the content node has no children. There's a console error, but a non-technical content editor has no way of knowing what went wrong.
The console error is:
For context, the Meganav property editor in this specific instance is being used in a standalone navigation document type, which can't have any children. It gets selected by a parent item via a multinode treepicker.
I have a related feature request for the Populate from tree feature (which may impact how/whether this issue is resolved) that I'm about to create and will link to this one shortly.