learningequality / kolibri

Kolibri Learning Platform: the offline app for universal education
https://learningequality.org/kolibri/
MIT License
811 stars 684 forks source link

Session and Summary export logs do not prioritize the content node with the selected channel id #12791

Open rtibbles opened 2 weeks ago

rtibbles commented 2 weeks ago

Observed behavior

This can lead to peculiar data mismatches, especially once https://github.com/learningequality/kolibri/pull/12782 is merged, whereby the topics do not match to the channel.

Expected behavior

We should look up the node by the content_id and the channel_id - and only fallback to the content_id only if that look up fails.