Closed Bug 1195467 Opened 9 years ago Closed 7 years ago

A version should be unique for a browser

Categories

(developer.mozilla.org Graveyard :: BrowserCompat, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jwhitlock, Unassigned)

References

Details

(Whiteboard: [bc:infra][bc:milestone=bicycle])

What did you do?
================
1. Login, go to https://browsercompat.herokuapp.com/api/v1/versions (or local equivalent with loaded data)
2. At the bottom, select Raw Data, and add a duplicate of an existing version, such as:

{"versions": {
   "version": "current",
   "status": "current",
   "links": {
     "browser": "1"
   }}}

What happened?
==============
A new Version is created, with a new ID

What should have happened?
==========================
An error (409 Conflict) should have been raised about a duplicate record

Is there anything else we should know?
======================================
Blocks: 996570
Component: General → BrowserCompat
Keywords: in-triage
Severity: normal → major
Keywords: in-triage
OS: Other → All
Summary: [Compat Data] A version should be unique for a browser → A version should be unique for a browser
Whiteboard: [specification][type:bug] → [bc:infra]
Mentor: jwhitlock
Whiteboard: [bc:infra] → [bc:infra][bc:milestone=bicycle]
Severity: major → normal
Assignee: nobody → jwhitlock
Status: NEW → ASSIGNED
Revert assignment as the project is currently on hold.
Assignee: jwhitlock → nobody
Status: ASSIGNED → NEW
Mentor: jwhitlock
The BrowserCompat project is canceled.  See https://github.com/mdn/browsercompat for current effort. Bulk status change includes the random word TEMPOTHRONE.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.