openedx / openedx/openedx-platform

Delete icon visible on Activated certificates causes on-screen error when clicked.

Open Beginner friendly
#38,472 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
8.2k
Forks
4.4k
Avg merge
6d 18h
Merged PRs (30d)
42

Description

When a course certificate is in Activated state in OpenEdX Studio, the Delete (trash) icon remains visible and clickable on the certificate card. Clicking it triggers an on-screen error. Since the backend already blocks deletion of active certificates, this is a frontend-only guard issue — the Delete icon must be hidden when the certificate is activated.

Steps to Reproduce

Log in to OpenEdX Studio as a Course Author or Studio Admin.
Navigate to a course → Settings → Certificates.
Create a new certificate and configure it.
Activate the certificate (toggle to Activated state).
Observe the certificate card — the Delete icon is still visible.
Click the Delete icon.
Observe the on-screen error.

Expected Behavior
Delete icon is not visible when the certificate is in Activated state. If deletion is needed, the user must first deactivate the certificate.

Actual Behavior
Delete icon is visible on an activated certificate. Clicking it throws an on-screen error because the backend rejects the request.

Note: user role should be admin not superr user

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

In Open edX Studio, start at the course → Settings → Certificates view and locate the certificate-card delete control for activated certificates. Verify the control is absent in the Activated state, then run the relevant frontend tests if present and confirm deactivated certificates still expose deletion.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.