question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Content selection checkboxes do not show content in updated version

See original GitHub issue

Observed behavior

Using the IMPORT MORE function in Kolibri shows two videos in the testing folder: Screen Shot 2020-02-05 at 1 06 15 PM

Expected behavior

There should be three videos in that folder, two alrady on device and one new Screen Shot 2020-02-05 at 1 06 15 PM

see on studio.

The db file served by Studio is v2 and it contains the new video.

Kolibri also seems to have read the correct DB file during UPDATE CHANNEL wizard, because the UI shows there are 7 content items in the channel and 6 already on device: Screen Shot 2020-02-05 at 1 11 48 PM so problem seems to be just related to the selection component.

User-facing consequences

Users will not be able to import new content added to their channel.

Errors and logs

No errors in the logs, just standard import logging.

During initial import of v1

INFO 2020-02-05 17:46:27,191 importchannel Downloading data for channel id 2d9ab082d771408eb7b48cd7d888e2e6
INFO 2020-02-05 17:46:27,892 channel_import Importing ContentTag data
INFO 2020-02-05 17:46:27,894 channel_import Importing ContentNode_has_prerequisite data
INFO 2020-02-05 17:46:27,895 channel_import Importing ContentNode_related data
INFO 2020-02-05 17:46:27,895 channel_import Importing ContentNode_tags data
INFO 2020-02-05 17:46:27,896 channel_import Importing ContentNode data
INFO 2020-02-05 17:46:27,898 channel_import Importing Language data
INFO 2020-02-05 17:46:27,898 channel_import Importing File data
INFO 2020-02-05 17:46:27,899 channel_import Importing LocalFile data
INFO 2020-02-05 17:46:27,900 channel_import Importing AssessmentMetaData data
INFO 2020-02-05 17:46:27,901 channel_import Importing ChannelMetadata data
INFO 2020-02-05 17:46:27,919 channel_import Channel 2d9ab082d771408eb7b48cd7d888e2e6 successfully imported into the database
INFO 2020-02-05 17:46:43,788 annotation Setting availability to True of 10 LocalFile objects based on passed in checksums
INFO 2020-02-05 17:46:43,802 annotation Setting availability of non-topic ContentNode objects based on LocalFile availability
INFO 2020-02-05 17:46:43,862 annotation Annotating ContentNode objects with children for 2 levels
INFO 2020-02-05 17:46:43,868 annotation Annotating ContentNode objects with children for level 2
INFO 2020-02-05 17:46:43,870 annotation Annotating ContentNode objects with children for level 1

After clicking VIEW CHANGES to preview what has changed in v1 --> v2:

INFO 2020-02-05 17:48:06,690 importchannel Downloading data for channel id 2d9ab082d771408eb7b48cd7d888e2e6
INFO 2020-02-05 17:48:07,320 channel_import Importing ContentTag data
INFO 2020-02-05 17:48:07,321 channel_import Importing ContentNode_has_prerequisite data
INFO 2020-02-05 17:48:07,321 channel_import Importing ContentNode_related data
INFO 2020-02-05 17:48:07,322 channel_import Importing ContentNode_tags data
INFO 2020-02-05 17:48:07,323 channel_import Importing ContentNode data
INFO 2020-02-05 17:48:07,323 channel_import Importing Language data
INFO 2020-02-05 17:48:07,324 channel_import Importing File data
INFO 2020-02-05 17:48:07,325 channel_import Importing LocalFile data
INFO 2020-02-05 17:48:07,326 channel_import Importing AssessmentMetaData data
INFO 2020-02-05 17:48:07,326 channel_import Importing ChannelMetadata data
INFO 2020-02-05 17:48:07,348 annotation Setting availability of LocalFile objects based on disk availability
INFO 2020-02-05 17:48:07,422 annotation Setting availability to True of 10 LocalFile objects based on passed in checksums

During the UPDATE CHANNEL:

INFO 2020-02-05 17:48:21,811 importchannel Downloading data for channel id 2d9ab082d771408eb7b48cd7d888e2e6
INFO 2020-02-05 17:48:21,867 channel_import Older version 1 of channel 2d9ab082d771408eb7b48cd7d888e2e6 already exists in database; removing old entries so we can upgrade to version 2
INFO 2020-02-05 17:48:21,887 channel_import Importing ContentTag data
INFO 2020-02-05 17:48:21,888 channel_import Importing ContentNode_has_prerequisite data
INFO 2020-02-05 17:48:21,889 channel_import Importing ContentNode_related data
INFO 2020-02-05 17:48:21,890 channel_import Importing ContentNode_tags data
INFO 2020-02-05 17:48:21,890 channel_import Importing ContentNode data
INFO 2020-02-05 17:48:21,892 channel_import Importing Language data
INFO 2020-02-05 17:48:21,892 channel_import Importing File data
INFO 2020-02-05 17:48:21,893 channel_import Importing LocalFile data
INFO 2020-02-05 17:48:21,894 channel_import Importing AssessmentMetaData data
INFO 2020-02-05 17:48:21,894 channel_import Importing ChannelMetadata data
INFO 2020-02-05 17:48:21,909 channel_import Channel 2d9ab082d771408eb7b48cd7d888e2e6 successfully imported into the database
INFO 2020-02-05 17:48:21,915 annotation Setting availability of non-topic ContentNode objects based on LocalFile availability
INFO 2020-02-05 17:48:21,930 annotation Annotating ContentNode objects with children for 2 levels
INFO 2020-02-05 17:48:21,935 annotation Annotating ContentNode objects with children for level 2
INFO 2020-02-05 17:48:21,938 annotation Annotating ContentNode objects with children for level 1

Steps to reproduce

  • Import channel v1 form Studio
  • add content to channel on Studio and publish v2
  • use UPDATE channel and IMPORT MORE functionality to try to get new content

Context

  • Kolibri version: 0.13
  • Operating system: linux
  • Browser: chome

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
rtibblescommented, Feb 11, 2020

Oh, actually read through your scenario - yeah, nothing here would fix that, because that wouldn’t be counted as an upgrade, and we have no other way of knowing that any change has taken place.

0reactions
rtibblescommented, Feb 11, 2020

Fixed in #6533

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use check box content controls in a Word document
Select the one for Mary and then click Properties in the Controls group. The resulting dialog will display several properties. You might want...
Read more >
Check Boxes in Word for Mac 2016 - Can't create clickable ...
I want users to be able to check the boxes while reading the document. ... Content Controls are not available in the Mac...
Read more >
How to select checkboxes based on text content?
When I check the select all box it doesn't select anything, so its likely making them all false instead of just the 899...
Read more >
6 How to Work with Check Boxes
Creating an Application. Editing the Update Form. Change the Report Display. Create Multi Value Check Boxes to Filter Content. Adding Check ...
Read more >
Solved: selecting single option in checkbox should allow a...
So, I have decided to create multiple checkboxes (a, b, c, d, e, f, g). There is a caveat here. If I check...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found