openedx / openedx/openedx-platform
Delete icon visible on Activated certificates causes on-screen error when clicked.
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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