Author can't delete or enable self-disabled (incomplete) add-on

VERIFIED FIXED in 6.0.3

Status

addons.mozilla.org Graveyard
Developer Pages
P3
normal
VERIFIED FIXED
7 years ago
2 years ago

People

(Reporter: jorgev, Assigned: Andy McKay)

Tracking

unspecified
6.0.3

Details

(URL)

Attachments

(2 attachments)

(Reporter)

Description

7 years ago
According to this discussion in the Add-ons Forum: https://forums.mozilla.org/addons/viewtopic.php?f=20&t=2613, the author has an add-on that is self-disabled (not admin-disabled anymore), but he doesn't see the Delete or Enable options.

I can see them on the versions page: https://addons.mozilla.org/en-US/developers/addon/these-toolbars-with-small-icon/versions/, but he can't, apparently. He should be able to see both.

May be related to bug 641292.
mysql> select id, status from addons where slug='these-toolbars-with-small-icon';
+------+--------+
| id   | status |
+------+--------+
| 3914 |      0 | 
+------+--------+

weird.
(Reporter)

Comment 2

7 years ago
Note that bug 641292 was resolved without any problems. I'll ask the author to send a screenshot of the Versions page.
Target Milestone: 6.0.2 → 6.0.3
(Reporter)

Comment 3

7 years ago
Created attachment 519917 [details]
My Add-ons page for currently Incomplete add-on

Here are some screenshots provided by the author at https://forums.mozilla.org/addons/viewtopic.php?f=20&t=2613&p=7431#p7431
(Reporter)

Comment 4

7 years ago
Created attachment 519918 [details]
Status & Versions page for currently Incomplete add-on

In the previous screenshot you can see the "you need to nominate or your add-on will be disabled" message, which I assume shouldn't appear anymore. In this one, you can see that there are no options to Delete or Enable the add-on.

This add-on is in an Incomplete state, so it should be possible to do all these things. Apparently there's a problem handling the Inactive (self-disabled) status.
Assignee: nobody → kumar.mcmillan
(In reply to comment #1)
> mysql> select id, status from addons where
> slug='these-toolbars-with-small-icon';
> +------+--------+
> | id   | status |
> +------+--------+
> | 3914 |      0 | 
> +------+--------+

Well, this certainly is intentional.  Addons are set to STATUS_NULL when the user disables them.  Andym may have more insight into it since he's in the blame log for the change.
We shouldn't be touching the add-on status when addons.inactive is changed... that's why they are separate fields.
(Reporter)

Comment 7

7 years ago
To clarify, this is the timeline of status changes:

1) Author uploads add-on.
2) Author disables add-on (add-on is now inactive).
3) We disable the add-on (add-on is now admin-disabled AND inactive).
4) Author requests add-on to be deleted.
5) I enable the add-on. (add-on is now incomplete AND inactive).

In this final state, the author should be able to change the add-on back to active, or delete it. None of those options are available, apparently, so that's the bug that need to be fixed.
Assignee: kumar.mcmillan → amckay
(Assignee)

Comment 8

7 years ago
I think Kumar is refering to the code added in bug 569949. Without files or versions, the addon gets moved to null. A simple change would be stop changing the status if the addon is inactive as noted in comment 6.
(Assignee)

Comment 9

7 years ago
https://github.com/jbalogh/zamboni/commit/6344d69005e98e008946ac4d3265a86bbce1b659

If an addon is disabled (by admin or user) we won't try and alter its status.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED

Comment 10

7 years ago
Using STR from comment 7 I was able to enable/delete my add-on @ https://addons-next.allizom.org/en-US/developers/addon/zoom13/versions/

Updated

7 years ago
Status: RESOLVED → VERIFIED

Comment 11

7 years ago
Hi,

I have the same problem: cannot delete/re-enable my add-on.

Several months ago I added and then disabled an add-on. Now I want to enable it and submit a new version. But there is no way to do it. And I don't want to change add-on ID. Add-on page tells me that
"You have disabled this add-on. Your add-on's listing is disabled and is not showing anywhere in our gallery or update service. You may re-enable it at any time below."
But in fact the corresponding buttons are disabled. Could anyone please help me with this issue?
(Reporter)

Comment 12

7 years ago
Can you please give us a link to your add-on? Thanks.
(Reporter)

Comment 14

7 years ago
The problem with your add-on was that it was also admin-disabled. I've fixed its status now and filed bug 677559. Let me know if you run into any other problems.

Comment 15

3 years ago
Hi!
Jorge, looks like the problem still exists.

My add-on status is 'You have disabled this add-on'. Status does not change if I submit a new version.
I think the add-on might be admin-disabled too, as previous version recently has been under a review.

My add-on link is
https://addons.mozilla.org/en-US/developers/addon/capture-for-jira/versions

I'd like the status to be updated & the new review to be initiated.

Thanks a lot!

--
Cheers,
Ignat.
(Reporter)

Comment 16

3 years ago
It looks like a new problem. I filed bug 1223528.

Comment 17

3 years ago
Thanks Jorge! I'll be watching the issue you've filled.
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.