If a learning path has a large number of subscribed students (several thousand), then an attempt to edit learning path content will fail at step 5 when the list of subscribed members is usually presented.

The problem appears to be that the code in class "LearningPathMembersForm" loads all group content and then proceeds to also load the related entries (users, groups, or nodes) in order to produce the list of members.

Suggested fix:

Re-factor the form to display a subset of the members (eg the first 100), with the number to be displayed a configurable parameter. The form would also then need "Next" and "Prev" navigation functions, similar to a view.

Comments

jlscott created an issue. See original summary.

jayelless’s picture

StatusFileSize
new745 bytes

Patch for temp fix to retrieve only the 100 most recently changed group content entities attached.

axelm’s picture

Hi @jlscott
Thanks for reporting this issue.
It will be fixed in the next release.
Here is the patch that we will use.

axelm’s picture

Status: Active » Patch (to be ported)
axelm’s picture

Status: Patch (to be ported) » Fixed
axelm’s picture

Status: Fixed » Closed (fixed)