Page 1 of 1

dpGroupsEdit_CheckGroups false Overflow triggering

Posted: Wed Jul 04, 2018 5:18 am
by SergeyK
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.

Re: dpGroupsEdit_CheckGroups false Overflow triggering

Posted: Mon Jul 16, 2018 12:03 pm
by leoknipp
Currently you cannot add more than 20 groups in the same level.
As far as I know the documentation was modified to describe the limitation.

Best Regards
Leopold Knipp
Senior Support Specialist

Re: dpGroupsEdit_CheckGroups false Overflow triggering

Posted: Mon Jul 23, 2018 3:37 am
by SergeyK
yes, I had to tweak the library code to get over it and save the change into my project.
Guess my confusion came from warning message talking about nested levels..