App hangs if a child tab is defined 2 levels below parent tab

Description

In a window, If a child tab is defined two levels below the parent tab, then the application freezes when trying to open the child tab.

There is a test in GridTable and GridTab that looks for the parent based on a difference on one. If the difference is greater then one, the loop gets stuck.

Test in 3.8.0 in the Warehouse Management window when adding an area and section to a warehouse.

Solution, fix the section tab level and also fix the logic for finding parent tabs to take this sort of error into account.

Environment

Swing, ZK, postgres, windows

Assignee

Michael McKay

Reporter

Michael McKay

Labels

None

Time tracking

1h

Fix versions

Affects versions

Priority

Major
Configure