Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete channel doesn't correspond to same channel name #1813

Closed
laurenlichtman opened this issue Jul 10, 2017 · 16 comments
Closed

Delete channel doesn't correspond to same channel name #1813

laurenlichtman opened this issue Jul 10, 2017 · 16 comments
Assignees
Labels
bug Behavior is wrong or broken
Milestone

Comments

@laurenlichtman
Copy link

Summary

I loaded a few channels into Kolibri and deleted one of the channels (Khan Academy Testing). I then uploaded PhET (completed) and MIT Blossoms (which didn't fully load). I went back to the Manage tab and noticed that Khan Academy Testing is still there. I pressed "Delete" and the pop-up asked me if I was sure I wanted to delete the PhET channel (which I had loaded). I pressed "ok" and PhET was deleted, not Khan Academy Testing. Both Khan Academy Testing and MIT Blossoms (although potentially not complete) are viewable in the Learn tab.

This may be 2-3separate issues but I'm filing only on the delete channel button as this may be the source of the problem.

System information

Please specify the Kolibri version you were using and your operating system!

  • Version: Kolibri 0.4.0.dev446
  • Operating system: Windows 10
  • Browser: Chrome

Traceback or relevant snippet from server.log or browser console

INSERT TRACEBACK, LOG MESSAGES ETC. HERE

How to reproduce

  1. Import multiple channels
  2. Delete one of the channels, and notice the name inconsistency.

Screenshots

screencapture-127-0-0-1-8080-management-1499702795784

Real-life consequences (anything community should be aware of, for instance how it affects your deployment)

This would be problematic because internet connectivity is limited and if you are choosing to delete a channel, you want to make sure it's the correct one!

@radinamatic
Copy link
Member

@laurenlichtman Did you use separate browser tabs to import and delete channels? Or were you using one same browser tab for all actions in the Kolibri Management?

@radinamatic radinamatic added TODO: needs gherkin update Add to our manual integration tests bug Behavior is wrong or broken labels Jul 10, 2017
@laurenlichtman
Copy link
Author

I only used one browser tab for all import and deletion.

@jamalex
Copy link
Member

jamalex commented Jul 10, 2017

Unrelated to this issue itself, but worth noting that deleting a channel currently only deletes the channel database, not the underlying content files, so adding the channel back in won't require re-downloading everything.

@jonboiser jonboiser self-assigned this Jul 10, 2017
@radinamatic
Copy link
Member

That's not ideal if users want to free space on their HD... 🤔
When do we plan to implement the full content delete, with all the confirmation workflow in the UI?

@rtibbles
Copy link
Member

Public release - at the same time as we have selective content sync.

@indirectlylit
Copy link
Contributor

That's not ideal if users want to free space on their HD... 🤔

agreed - I don't think that'd be the expected behavior

@jonboiser
Copy link
Contributor

I'm going to add a patch that will try to address the name inconsistency on the delete modal. There are at least a couple other issues pointed at in the issue, including the fact that KA Testing was not effectively deleted after Lauren's first attempt.

@laurenlichtman
Copy link
Author

I put this on the dev channel but @jamalex the database file didn't delete for me after deleting from within Kolibri.
postdeletion

@jonboiser
Copy link
Contributor

@jamalex Do you think there might be issues using os.remove on Windows?

@rtibbles
Copy link
Member

Should be mostly fixed in #1814 - not sure about the inconsistency of database deletion though.

@jonboiser
Copy link
Contributor

Closing this one and tracking the deletion issue in #1818

@radinamatic
Copy link
Member

@jonboiser I'm still seeing this on 0.5.0b4 release 😕

fresh Win7 VM snapshot, my two small testing channels:
8b4d3e6d3d4842ba8ea658335b5dd252 - KhanAcademyTesting
95a52b386f2c485cb97dd60901674a98 - CK-12 Testing

@radinamatic radinamatic reopened this Jul 15, 2017
@laurenlichtman
Copy link
Author

The same thing has happened for me on the 0.5.0b2 release and the current 0.5.0b4 release. I mentioned this to @jonboiser as I wonder if it has to relate to the underlying issue #1818?

@rtibbles
Copy link
Member

Does the wrong channel get deleted, or does no channel get deleted?

If the former, it is this issue, if the latter then it is #1818.

@radinamatic
Copy link
Member

Actually, both... 😂

Wrong channel appears to be deleted, but if you restart the server, it's still there.

@rtibbles
Copy link
Member

This is now really fixed in #1928.

@radinamatic radinamatic removed the TODO: needs gherkin update Add to our manual integration tests label Dec 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Behavior is wrong or broken
Projects
None yet
Development

No branches or pull requests

6 participants