[Bug]: The deletion of an addon/theme also causes the deletion of the menntions from notification/activity page

Open
#16,618 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
django, javascript, postgresql
Domain
backend, web-dev

Research direction

The payload names no files or tests, so start by finding where add-on and theme deletion is handled and where version activity log entries are filtered or removed on delete. Reproduce by creating and approving an add-on, deleting it, and checking the /addon/[addon_name]/versions activity list. Done means the activity entries stay visible after deletion, and the decision on a deletion notice is confirmed with maintainers, since the issue leaves it open.

Written by the indexing model from the issue text.

Description

component:pinguino_devhub
Is there an existing issue for this?
  • I have searched the existing issues
What happened?

I noticed the following for both addon and theme:

  1. Create and approve an extension/theme
  2. Go to /addon/[addon_name]/versions
  3. Observe that all events are present:
image Now go back to addon/[addon_name]/versions page and delete the theme: Observe that all notifications related to that theme are not anymore image image This happens for an addon as well. Also present in the old version of devhub

This issue resulted from this discussion: [Task]: Pinguino - Addon activity and notification page

What did you expect to happen?

The activities/notifications for the deleted addon/theme to remain present. Also a notification that mentions that the addon/theme was deleted

┆Issue is synchronized with this Jira Task

Dominant language
Makefile
Stars
135
Forks
52
Avg merge
6d 18h
Merged PRs (30d)
7

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No 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.

More from mozilla/addons

All issues in mozilla/addons

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.