Closed Bug 610807 Opened 14 years ago Closed 14 years ago

Developers without the "listed" flag are treated as users unrelated to their add-on

Categories

(addons.mozilla.org Graveyard :: Developer Pages, defect, P2)

Tracking

(Not tracked)

RESOLVED FIXED
5.12.5

People

(Reporter: jorgev, Assigned: chenba)

Details

(Whiteboard: [ReviewTeam])

Attachments

(1 file)

It looks like there are a number of features on AMO that rely on the developer / owner of an add-on to have the "listed" property set. This property should be for public display purposes only, but it appears to be having a negative effect on other areas:

1) The developer doesn't receive editor review emails.
2) The developer can review their own add-ons.
3) The developer doesn't appear in the editor review pages.

There could be more of these. It looks like there's a function somewhere that is intended to return all developers for an add-on, and in reality only returns the listed ones.
Target Milestone: 5.12.3 → 4.x (triaged)
This is a big problem right now -- lots of developers aren't receiving review emails and don't realize their add-ons have been rejected.
Target Milestone: 4.x (triaged) → 5.12.4
Can you give me a specific example?  What makes you think this is related to the listed flag?
Points 2 and 3 are easily testable. Point 1 was tested by Andrew. I don't recall the exact add-on, but maybe he can.

It was a case were a nomination was rejected and resubmitted over and over with no reply from the developer. Andrew tried changing the flag before rejecting the add-on again, and got a response within minutes.
FYI, fixing bug 585768 should get rid of (1).
(In reply to comment #3)
> Points 2 and 3 are easily testable. Point 1 was tested by Andrew. I don't
> recall the exact add-on, but maybe he can.

I test I uploaded a new addon (it was a random search plugin I was testing that I modified) https://addons.mozilla.org/en-US/developers/addon/edit/252560

I first suspected it was happing after an addon (extension - I don't recall which) I'd repeatedly rejected was fixed within less than an hour after I edited it to make a developer visible.
Alright, I can confirm all three of these.  #2 is new, #1 and #3 are old - we haven't redone the editor tools yet.  Chenb can fix them in the editor tools in the next milestone if they are important enough to do ahead of the rewrite.
Assignee: nobody → chenba
Target Milestone: 5.12.4 → 5.12.5
Is this something we can do with the bindOnly() or other bind functions?  I've never seen anyone mess with the HABTM stuff directly and it makes me nervous :)
The bind methods only allow someone to specify the models to bind, but not the options to bind with.  The Addon model does not bind with User or perform find() again in that action, so editing the conditions option shouldn't be an issue as it is.

The main concern is that if the conditions option ever change to include more conditions, this patch will drop those additional conditions along with listed.  But I definitely don't want to edit the Addon model because other parts of the app that rely on it.  I could cook up something for bindOnly to accept binding options, but that will introduce more possibilities for bugs. :-P
Heh, ok.  Well, commit this and let us know so people can check it out.
Attachment #493594 - Flags: review?(clouserw) → review+
Committed @ r78400
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Reclassifying editor bugs and changing to a new whiteboard flag. Spam, spam, spam, spam...
Whiteboard: [required amo-editors] → [ReviewTeam]
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: