Skip to content

Cannot Delete Channels from Channel Edit Page #2894

@sairina

Description

@sairina

Summary

Clicking "delete" from the upper right-hand corner of the Channel Edit page doesn't allow for user to delete the channel at all.

Note: Clicking "delete" from the Channel List page deletes the channel, but results in the following error in the console:

Uncaught (in promise) DexieError {_e: Error
    at getErrorWithStack (https://studio.learningequality.org/static/studio/channel_list-6ef0…, name: "PrematureCommitError", message: "Transaction committed too early. See http://bit.ly/2kdckMn", inner: null}

Category

Select one: BUG

Usage Details

  • Browser: Chrome
  • Channel: "test"
  • Topic/Content Item: PDF file

Traceback or relevant snippet from browser console

2021-02-01 14 19 11

How to reproduce

  1. Login to Studio
  2. Click on an existing channel from the Channel List page
  3. Click on the menu at the upper right hand corner (three dots next to "PUBLISH") of the Channel Editing page
  4. Click on "Delete channel"
  5. When the modal appears, click on the "Delete channel" button
  6. Notice that an error appears in the console:
[Vue warn]: Error in v-on handler: "TypeError: Cannot read property 'then' of undefined"

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

Users will be unable to delete a channel from the Channel edit page.

Metadata

Metadata

Assignees

Labels

P2 - normalPriority: Nice to have

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions