View Issue Details

IDProjectCategoryView StatusLast Update
0004218Composrcore_cnspublic2020-04-29 22:53
ReporterChris GrahamAssigned ToChris Graham 
Severitytrivial 
Status resolvedResolutionfixed 
Product Version10.0.30 
Fixed in Version10.0.31 
Summary0004218: Small performance optimisation and potential loop fixer
Descriptioncns_implicit_usergroup hooks may check to see if their usergroup exists or not. Doing so may cause a loop, as listing usergroups will lookup the current members usergroups in order to know if they can un-hide hidden groups based on their membership. Finding a members usergroups in turn uses cns_implicit_usergroup hooks.

This loop, and also a small perf issue, can be fixed by tweaking the code.
TagsNo tags attached.
Attach Tags
Time estimation (hours)
Sponsorship open

Activities

admin

2020-04-29 22:53

administrator   ~0006523

Fixed in git commit 798c9129c (https://gitlab.com/composr-foundation/composr/commit/798c9129c - link will become active once code pushed to GitLab)

A hotfix (a TAR of files to upload) has been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. If there are files in a hot-fix that you don't have then they probably relate to addons that you don't have installed and should be skipped. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/).

hotfix-4218, 2020-04-29 10pm.tar (77,824 bytes)

Issue History

Date Modified Username Field Change