Closed Bug 496449 Opened 15 years ago Closed 15 years ago

Able to add incomplete add-on to a collection

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: krupa.mozbugs, Assigned: wenzel)

References

Details

Attachments

(1 file)

steps to reproduce:
1.try to add "Thunderbird Tangerine" to a collection

expected result:
User is unable to add "Thunderbird Tangerine" to a collection as its incomplete

actual result:
-Able to add incomplete add-on to a collection
-However the add-on is not listed in the View collection page

screencast:
http://screencast.com/t/zEcvsWRQmTW
Assignee: nobody → fwenzel
Depends on: 495351
Attached patch Patch, rev. 1Splinter Review
This patch disallows *adding* invalid add-ons to the list. I don't think they were shown in the suggestion dropdown before, so this one must have been added by entering the add-on ID manually?

Note that the existing test case won't magically go away: Only adding such add-ons is refused now.

Also note that if this add-on was added with the extension, it's a bug over there and is unaffected by this patch.
Attachment #381736 - Flags: review?(clouserw)
Status: NEW → ASSIGNED
Attachment #381736 - Flags: review?(clouserw) → review-
Comment on attachment 381736 [details] [diff] [review]
Patch, rev. 1

This doesn't seem to have any effect.

Additionally, the dropdown box does suggest invalid add-ons.  Try typing "Thunderbird tan" in it to see the invalid theme.
Comment on attachment 381736 [details] [diff] [review]
Patch, rev. 1

Alright, after discussion on IRC this patch is valid, and thunderbird tangerine is broken.
Attachment #381736 - Flags: review- → review+
Comment on attachment 381736 [details] [diff] [review]
Patch, rev. 1

Actually, the code does what it says it does, but we noticed that coincidentally, this specific add-on is broken. Its status is PENDING which is valid, in spite of it actually being incomplete.

If fixed the add-on's status both in production and on preview.

We still need my code though to keep *actual* invalid add-ons from being added to a collection.
r27217, thanks.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: push-needed
Hardware: x86 → All
Resolution: --- → FIXED
Trying to add an incomplete add-on(testfreak[9617]) gave an error message-"Add-on not found".

Marking this verified.
Status: RESOLVED → VERIFIED
removing "push-needed" from 105 AMO 5.0.6 bugs; filter on "I hate stephend!"
Keywords: push-needed
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

Created:
Updated:
Size: