File dispute not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snap Store Server |
Fix Released
|
Undecided
|
Unassigned | ||
Snapcraft |
Triaged
|
Undecided
|
Unassigned |
Bug Description
# Summary
When registering a snap name that already exists filing a dispute is not working.
# Steps to reproduce
## On API
- Register a snap that already exists
/dev/api/
{
"snap_name": "toto"
}
Response:
409 Conflict
{
"error_list": [{'message': "'toto' is already registered.", 'code': 'already_
}
- File a dispute
/dev/api/
{
"snap_name": "toto",
"registrant_
}
Response:
409 Conflict
{
"error_list": [{'message': "'toto' is already registered.", 'code': 'already_
}
# Expected behaviour
## On API
- Register a snap that already exists
/dev/api/
{
"snap_name": "toto"
}
Response:
409 Conflict
{
"error_list": [{'message': "'toto' is already registered.", 'code': 'already_
}
- File a dispute
/dev/api/
{
"snap_name": "toto",
"registrant_
}
Response:
409 Conflict
{
"error_list": [{'message': "You already registered a claim for 'toto'.", 'code': 'already_claimed'}]
}
description: | updated |
Changed in snapstore: | |
status: | Incomplete → New |
Changed in snapstore: | |
assignee: | nobody → Celso Providelo (cprov) |
status: | New → In Progress |
Changed in snapstore: | |
status: | Fix Committed → Fix Released |
I get the expected behaviour you ask for...
https:/ /screenshots. firefox. com/V0jsmCtkAj2 6VqqH/dashboard .snapcraft. io