Sometimes individual users are being added to the Learning Path instead of the selected class.

Created on 11 March 2022, almost 3 years ago
Updated 20 March 2023, over 1 year ago

Problem/Motivation

In some cases when I try to add a class to a learning path, instead of the class all the members of that class are individually added to the learning path.
Even though in the form it showed the class being added.

When debugging I found that in some cases I would get users instead classes in opigno_learning_path_group_membership_add_form_submit().
(value of training_users).

I have no idea what's causing this; some js error?
Is anyone else running into this issue, or am I missing something?

Steps to reproduce

Go to a learning path members > add members and select a class (not the individual members of the class, but the class itself).
Then submit the form. In some cases you will see the members of the class being added instead of the class itself.

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States tijmenve Harrisburg, PA πŸ‡ΊπŸ‡Έ

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024