Skip to content
This repository has been archived by the owner on Dec 17, 2019. It is now read-only.

Direct claim URLs no longer work #140

Closed
Sheeri opened this issue Jan 18, 2013 · 3 comments
Closed

Direct claim URLs no longer work #140

Sheeri opened this issue Jan 18, 2013 · 3 comments

Comments

@Sheeri
Copy link

Sheeri commented Jan 18, 2013

I know they worked last week, but they're not seeming to work this week.

I used to be able to direct people to:

https://badgus-dev.allizom.org/en-US/badges/claim/[code]
for example
https://badgus-dev.allizom.org/en-US/badges/claim/mxmehp

But that's no longer working, and it redirects me to (I think) the page for the last person to get the award:
https://badgus-dev.allizom.org/en-US/badges/badge/MySQL_Marinate_Week_3_Complete/awards/99

I have to tell people to go to https://badgus-dev.allizom.org and enter the claim code, but that's silly....the claim URL stopped working...silently....with a redirect to an unhelpful page? If anything, it should redirect you to a page that says something like "please enter claim code [code] into the box at https://badgus-dev.allizom.org".

@lmorchard
Copy link
Contributor

Wifi at the AUS airport is trolling me, so I can't quite get to the site and check on this myself in admin, but:

This sounds exactly like how single-use claim codes are meant to work. That is, once one is claimed, subsequent claim attempts just turn into a redirect to the award into which the claim was converted. Maybe double check that your claim code leads to a reusable claim, rather than a single-use?

@Sheeri
Copy link
Author

Sheeri commented Jan 18, 2013

It's a reusable code, it's been reused several times already. I double-checked and when I go to the badge page, it shows that it's a reusable code (not a one-time code).

@lmorchard
Copy link
Contributor

Okay, sure enough: I can reproduce this and the claim code is indeed flagged as reusable. The form on the front page works when a code's pasted in, but yeah the claim URL should lead to a form to confirm claiming the code.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants