In hs_menu.module, line 98, the function loops endlessy if some menuitem (may be a drupal bug) has pid= mid and the server crashes

Comments

wim leers’s picture

Status: Active » Postponed (maintainer needs more info)

Please post the steps to reproduce this problem.

jthorson’s picture

Sounds like what's happening in this other bug report.

To reproduce, create an item in the hierarchy, go back and edit that item, and set it as it's own parent.

wim leers’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

Yep, thanks jthorson!

wim leers’s picture

Title: hs_menu_hierarchical_select_lineage loop when pid = mid » HS Menu implementation allows a book page to set itself as parent
Assigned: Unassigned » wim leers
Status: Closed (duplicate) » Fixed

This actually wasn't a duplicate, it was just similar.

While I was at it, I also cleaned up the code a little bit.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.