dpGroupsEdit_CheckGroups false Overflow triggering
Posted: Wed Jul 04, 2018 5:18 am
I have a set of DP-Groups, where Main Groups include Sub-Groups and Sup-Groups use DP(e) filters. This is 2-level reference. Some Main-groups include >20 Sub-groups.
When I click "Check" button on Group Administration window, a warning is triggered with "Filter nested deeper than 20 levels or endless referencing.." message.
From the panel code I can see, that "Overflow" variable gets incremented on every call of "groupGetFilteredDps". It is meant to be incremented only on recursive call (nested levels) but not horizontal iteration.
Essentially the "check" is not going to work if you included >20 groups/types in the filter.
Please confirm.
When I click "Check" button on Group Administration window, a warning is triggered with "Filter nested deeper than 20 levels or endless referencing.." message.
From the panel code I can see, that "Overflow" variable gets incremented on every call of "groupGetFilteredDps". It is meant to be incremented only on recursive call (nested levels) but not horizontal iteration.
Essentially the "check" is not going to work if you included >20 groups/types in the filter.
Please confirm.