Closed brian-learningpool closed 4 years ago
Multiple calls to addGroupingActivity() in the xAPIWrapper, e.g. overwrite any existing array values.
addGroupingActivity()
For example, according to https://github.com/adaptlearning/adapt-contrib-xapi/blob/master/js/adapt-contrib-xapi.js#L805-L836 a question component which is part of an assessment should contain groupings for:
In fact, only the assessment grouping is present, due to it being the last call to statement.addGroupingActivity().
statement.addGroupingActivity()
This is caused by https://github.com/adlnet/xAPIWrapper/issues/160.
Pull request is up on xAPIWrapper repo. I'll update our code as soon as it's merged.
Multiple calls to
addGroupingActivity()
in the xAPIWrapper, e.g. overwrite any existing array values.For example, according to https://github.com/adaptlearning/adapt-contrib-xapi/blob/master/js/adapt-contrib-xapi.js#L805-L836 a question component which is part of an assessment should contain groupings for:
In fact, only the assessment grouping is present, due to it being the last call to
statement.addGroupingActivity()
.This is caused by https://github.com/adlnet/xAPIWrapper/issues/160.