Check for duplicate add-on names doesn't include incomplete add-ons

RESOLVED WORKSFORME

Status

P4
normal
RESOLVED WORKSFORME
8 years ago
3 years ago

People

(Reporter: krupa.mozbugs, Assigned: davedash)

Tracking

Details

(Whiteboard: [Step 3], URL)

Attachments

(1 attachment)

(Reporter)

Description

8 years ago
Created attachment 498783 [details]
screenshot

I am able to create add-ons with duplicate names when one of the add-on is incomplete.

STR:
1. Upload an add-on
2. In step [3], change the add-on's name to that of an incomplete add-on("abraham lincoln")

expected behavior:
There is an error message as duplicate names are not allowed.

actual behavior:
Duplicate name is saved.

See https://addons.allizom.org/z/en-US/developers/addons?page=1 where add-ons with duplicate names are listed.
(Reporter)

Updated

8 years ago
Blocks: 440965
Priority: -- → P4
Target Milestone: 5.12.6 → 5.12.7
(In reply to comment #0)
> I am able to create add-ons with duplicate names when one of the add-on is
> incomplete.

Looking at the code, that's not true.

We were moving redis around in bug 613997 yesterday and forgot to rebuild the index.  I bet this works now.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → WORKSFORME
Target Milestone: 5.12.7 → 5.12.6
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.