3

Examining the class JTableUsergroup located in libraries\joomla\table\usergroup.php I found out, that the nested set is rebuilt after storing a new usergroup but not after deleting one.

Is this behaviour implemented on purpose and what is the reason for not rebuilding the nested set model?

1

The question would be if there is a need to rebuild the structure after a deletion.

In my opinion, only new items force a rebuild and usergroup deletion does not require a rebuild.

If you find a case where it does work as expected, it is a bug. You can submit a Pull Request to fix the issue to https://github.com/joomla/joomla-cms.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.